File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,28 @@ Look at the source code of `src/LaravelScrapingBeeWalmartProduct.php` for the ot
145145
146146[ LaravelScrapingBeeWalmartProduct.php] ( https://github.com/ziming/laravel-scrapingbee/blob/main/src/LaravelScrapingBeeWalmartProduct.php )
147147
148+
149+ ### Amazon ScrapingBee Clients
150+
151+ #### The Amazon Search ScrapingBee Client
152+
153+ ``` php
154+ $amazonSearchScrapingBeeClient = Ziming\LaravelScrapingBee\LaravelScrapingBeeAmazonSearch::make();
155+
156+ $response = $amazonSearchScrapingBeeClient
157+ ->query('iPhone')
158+ ->startPage(2)
159+ ->pages(3)
160+ ->device('desktop')
161+ ->currency('usd')
162+ ->country('gb')
163+ ->sortBy('average_review')
164+ ->get();
165+ ```
166+ Look at the source code of ` src/LaravelScrapingBeeAmazonSearch.php ` for the other methods (link below).
167+
168+ [ LaravelScrapingBeeAmazonSearch.php] ( https://github.com/ziming/laravel-scrapingbee/blob/main/src/LaravelScrapingBeeAmazonSearch.php )
169+
148170## Testing
149171
150172Currently, there are no tests as it uses credits. But if there are tests in the future, you can run the command below to execute the testcases.
You can’t perform that action at this time.
0 commit comments