t3chnoboy / amazon-product-api

:credit_card: Amazon Product Advertising API client
366 stars 104 forks source link

Support for region based search ? #14

Closed drakaris closed 9 years ago

drakaris commented 9 years ago

Would it be possible to get a country based search ability ? I'm migrating from php to node.js on my server, and I just realized that certain books don't have the "EditorialReview" in their query response.

After digging around a bit, I've figured that books that have EditorialReviews on amazon.com return the tag, whereas books that have EditorialReviews on amazon.in don't return the reviews.

Is there any way to incorporate this into your node.js package ?

Example :

Name : Third Best Author : Arjun Rao ISBN : 9350093014

http://www.amazon.in/Third-Best-Arjun-Rao/dp/9350093014/ref=sr_1_1?s=books&ie=UTF8&qid=1434759411&sr=1-1&keywords=third+best

This book doesn't exist on amazon.com. ( unless I search for a kindle version ).

It is however available on amazon.in.

Therefore is there any way to perform country based searches ?

drakaris commented 9 years ago

I had clearly overlooked the domain variable that could be set, didn't find it until I viewed the code in utils.js..

My sincere apologies