I am working with amazon api and used code from online sources http://www.codediesel.com/php/accessing-amazon-product-advertising-api-in-php/ .
I would like to get more than 10 product details when I make a search query using amazon api. I know about the Amazonian api policy to get 10 data per call, but is it possible to get more data by creating a loop or something like that?
When I make a request, I assigned the following parameters
$parameters = array("Operation" => "ItemSearch", "SearchIndex" => "Electronics", "ResponseGroup" => "Images,ItemAttributes,EditorialReview,Offers ", "ItemPage"=>"10", "Keywords" => $search );
So, although I asked for 10 pages of the result, I'm not sure how to display data from each page (from 1 to 10), so in the end I get 100 elements when I execute the query. I get the following response when I try to run the code:
SimpleXMLElement Object ( [Request] => SimpleXMLElement Object ( [IsValid] => True [ItemSearchRequest] => SimpleXMLElement Object ( [ItemPage] => 10 [Keywords] => laptop [ResponseGroup] => Array ( [0] => Images [1] => ItemAttributes [2] => EditorialReview [3] => Offers ) [SearchIndex] => Electronics ) ) [TotalResults] => 3383691 [TotalPages] => 338370 [MoreSearchResultsUrl] => http:
kiran patel
source share