mirkokiefer / aws-lib

Extensible Node.js library for the Amazon Web Services API
MIT License
681 stars 166 forks source link

Paging with Product Advertising API? #101

Closed bluepuma77 closed 8 years ago

bluepuma77 commented 8 years ago

I would like to retrieve 100 results for a keyword search with Amazon's Product Advertising API. By default the number of results is limited to 10 and I understand that paging is required to get more. There is a MoreSearchResultsUrl field provided in the response. How can I use that?

curl comes back empty for both GET and POST, my webbrowser shows a website with results. If I get the right results, I assume it should be XML which I somehow need to run through aws-lib to get the regular JSON results.

I think it's really strange that Amazon itself refers to this 4 year old library and that Amazon's JS SDK does not support the Product Advertising API.

bluepuma77 commented 8 years ago

Check node-apac for Product Advertising API and issue #65 for paging to get 100 results.