You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple Python wrapper for the [last version of the Amazon Product Advertising API](https://pypi.org/project/amightygirl.paapi5-python-sdk/). This module allows to get product information from Amazon using the official API in an easier way.
3
+
A simple Python wrapper for the [last version of the Amazon Product Advertising API](https://webservices.amazon.com/paapi5/documentation/quick-start/using-sdk.html). This module allows to get product information from Amazon using the official API in an easier way.
Throttling value must be `0 < value <= 1`. This value throttles requests to a maximum of one request per`1 / value` seconds. Note that this value is a per-worker throttling, so applications with multiple workers may make more requests per second. Throttling value is [set by default](https://github.com/sergioteula/python-amazon-paapi/blob/master/amazon/paapi.py#L36) to `0.8` or one request per 1.25 seconds.
68
+
Throttling value must be `greater than 0` or `False` to disable it. This value throttles requests to a maximum of one request every`1 / value` seconds. Note that this value is a per-worker throttling, so applications with multiple workers may make more requests per second. Throttling value is [set by default](https://github.com/sergioteula/python-amazon-paapi/blob/master/amazon/paapi.py#L36) to `0.8` or one request every 1.25 seconds.
69
69
70
70
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY, throttling=0.5) # Max one request every two seconds
71
+
amazon = AmazonAPI(KEY, SECRET, TAG, COUNTRY, throttling=False) # Unlimited requests per second
71
72
72
73
Changelog
73
74
-------------
75
+
Version 3.1.0
76
+
- Added paapi5-python-sdk and removed amightygirl.paapi5-python-sdk.
77
+
- Improved throttling and now possible to disable it.
0 commit comments