Exeu / apai-io

DISCONTINUED Amazon Product Adverstising Library based on PHP REST and SOAP (only V1) using the Product Advertising API.
http://apai-io.readthedocs.io/en/latest/
628 stars 154 forks source link

Feature-Request: Get OfferSummary for more as one ASIN #32

Closed Daijobou closed 10 years ago

Daijobou commented 10 years ago

Hello,

I have above 1000 amazon items and want update all prices daily, Is this with one or few requests possible or I must request each ASIN one by one?

Maximum items per request is ten asin: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemLookup.html Its only allowed one request per second: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html

Exeu commented 10 years ago

You must request each ASIN by one. There is no other way to achive this.

You can pass maximum ten asins per ItemLookup Request.

$lookup = new Lookup();
$lookup->setItemId('B0040PBK32,B00MEKHLLA,...');

I recommend to you to build a job which do this. Between the Requests take care of the throtteling of amazon (request per second).