Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,28 @@ Look at the source code of `src/LaravelScrapingBeeWalmartProduct.php` for the ot

[LaravelScrapingBeeWalmartProduct.php](https://github.com/ziming/laravel-scrapingbee/blob/main/src/LaravelScrapingBeeWalmartProduct.php)


### Amazon ScrapingBee Clients

#### The Amazon Search ScrapingBee Client

```php
$amazonSearchScrapingBeeClient = Ziming\LaravelScrapingBee\LaravelScrapingBeeAmazonSearch::make();

$response = $amazonSearchScrapingBeeClient
->query('iPhone')
->startPage(2)
->pages(3)
->device('desktop')
->currency('usd')
->country('gb')
->sortBy('average_review')
->get();
```
Look at the source code of `src/LaravelScrapingBeeAmazonSearch.php` for the other methods (link below).

[LaravelScrapingBeeAmazonSearch.php](https://github.com/ziming/laravel-scrapingbee/blob/main/src/LaravelScrapingBeeAmazonSearch.php)

## Testing

Currently, 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.
Expand Down