sergioteula / python-amazon-paapi

Amazon Product Advertising API 5.0 wrapper for Python 💰
MIT License
228 stars 46 forks source link

Add optional 'searchindex' parameter to Search product #71

Closed y3w11 closed 3 years ago

y3w11 commented 3 years ago

To refine search results it would be helpful to add the option to include the searchindex parameter to amazon.search_products. List of locales can be found here e.g. the searchindex list for the us would be this

sergioteula commented 3 years ago

Thanks for the suggestion, I will work on this for a future update.

sergioteula commented 3 years ago

Hello again, the new update is now available with all available parameters for every method on the official API, including search_index. https://github.com/sergioteula/python-amazon-paapi/blob/f4c694f7eb35d3b75b404633fde32f0028d19b50/amazon_paapi/api.py#L123

By the way, keep in mind that the new version breaks compatibility with previous versions, so you will need to adapt your code.