does the ItemSearch operation have parameters like offset? I need to fetch more than 100 results, I don't mind if I have to execute more queries.
The parameters I use are the following:
'Service' => "AWSECommerceService",
'AssociateTag' => [TAG],
'AWSAccessKeyId' => [ID],
'Operation' => "ItemSearch",
'BrowseNode' => "2445220011",
'Condition' => "All",
'ItemPage' => $_GET["p"],
'Timestamp' => date("Y-m-d\TH:i:s.\\0\\0\\0\\Z"),
'ResponseGroup' => "ItemAttributes",
'SearchIndex' => "VideoGames"
You can add parameters like MinPrice & MaxPrice and send your request in different price ranges to get more that 100 results. But still you end up having 100 products for that price range.
You can even add Keyword parameter i your request and can send different closely related values for this parameter.
Per the documentation:
ItemSearch
returns up to ten search results per page.The
ItemPage
parameter enables you to return a specified page of results. The maximum ItemPage number that can be returned is 10.
This is seemingly impossible, and your only option is likely to capture MoreSearchResultsURL
out of the response:
MoreSearchResultsURL
: The URL where the complete search results are displayed. The URLs provided in the search results are the exact ones that you should use when you link back to Amazon.com. They are tagged with your Associate tag and contain other tracking information to increase your hourly request limit as the sales that you generate increase.
Source: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With