Skip to content

Commit 743b14b

Browse files
committed
Updated AmazonAPI docstrings
1 parent 84f07fc commit 743b14b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

amazon/paapi.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ def get_asin(url):
6363

6464

6565
class AmazonAPI:
66+
"""Creates an instance containing your API credentials.
67+
68+
Args:
69+
key (string): Your API key.
70+
secret (string): Your API secret.
71+
tag (string): The tag you want to use for the URL.
72+
country (string): Country code.
73+
throttling (float, optional): Reduce this value to wait longer between API calls.
74+
"""
6675
def __init__(self, key, secret, tag, country, throttling=0.9):
6776
self.key = key
6877
self.secret = secret

0 commit comments

Comments
 (0)