python-amazon-paapi icon indicating copy to clipboard operation
python-amazon-paapi copied to clipboard

KEY, SECRET, TAG, COUNTRY.....

Open nickkkkkkkkkkkkkkkkkk opened this issue 2 years ago • 5 comments

good morning, but where do I insert the KEY, SECRET, TAG, COUNTRY ?? thank you

nickkkkkkkkkkkkkkkkkk avatar Oct 30 '22 11:10 nickkkkkkkkkkkkkkkkkk

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

hardcore avatar Dec 02 '22 10:12 hardcore

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.

michael7245 avatar Jan 12 '23 07:01 michael7245

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?

ghost avatar Jan 19 '23 07:01 ghost

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.

losomo avatar Oct 27 '23 18:10 losomo

I had the same Issue and like @losomo said it was gone the second day. But recently it reappeared. Did anyone else encounter that?

noah-bedano avatar Feb 03 '24 14:02 noah-bedano