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 155 forks source link

Add Support for Batch Requests #55

Closed ChayimZaklad closed 8 years ago

ChayimZaklad commented 9 years ago

Please add a feature to this framework to enable submitting batch requests to the API.

I'm referring to what's documented in Amazon's Product Advertising API Developer Guide, starting page 71, Batch Requests (enabling 2 different requests to be sent simultaneously and responded to simultaneously).

It would enable REST requests, for example, to use

Operation.1.ParameterName=ParameterValue Operation.2.ParameterName=ParameterValue Operation.Shared.ParameterName=ParameterValue

This would enable, for example, getting 2 consecutive pages totaling 20 products, without waiting 1 second between requests. (I'd need it to work with SOAP requests, too.)

Exeu commented 8 years ago

Will be implemented in version 2 https://github.com/Exeu/apai-io/pull/110/commits/d74457c03c42b8003527026059f1d0b7b43d272e#diff-a217f36772a14f1eb1df57cac606d90dR1