python-amazon-paapi
python-amazon-paapi copied to clipboard
KEY, SECRET, TAG, COUNTRY.....
good morning, but where do I insert the KEY, SECRET, TAG, COUNTRY ?? thank you
Start here:
Create a file for example test.py.
Add this code:
from amazon_paapi import AmazonApi
KEY = "your API key from amazon"
SECRET = "the corresponding secret to the API key"
TAG = "your-tag-xx"
COUNTRY = "your country code (DE=germany, IT=italy, UK=United Kingdom and so on"
amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY)
item = amazon.get_items('fill in an ASIN from your local amazon store')[0]
print(item.item_info.title.display_value) # Item title
Change / edit the following:
KEY = SECRET = TAG = COUNTRY = item = amazon.get_items('ASIN here')[0]
Greetings
I've followed your basic tutorial with my credentials and am getting this error: amazon_paapi.errors.exceptions.TooManyRequests: Requests limit reached, try increasing throttling or wait before trying again
. Curous if anyone else fixed that. Thanks in advance.
I've followed your basic tutorial with my credentials and am getting this error:
amazon_paapi.errors.exceptions.TooManyRequests: Requests limit reached, try increasing throttling or wait before trying again
. Curous if anyone else fixed that. Thanks in advance.
Also getting this, did you find a solution?
I ran into the same error when I activated PAAPI. It started working the next day, it may be that it takes some time to initialize the request limit after the API is enabled.
I had the same Issue and like @losomo said it was gone the second day. But recently it reappeared. Did anyone else encounter that?