|
1 | 1 | # Amazon Product Advertising API 5.0 wrapper for Python |
2 | 2 |
|
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 interacting with Amazon using the official API in an easier way. |
| 3 | +A simple Python wrapper for the [last version of the Amazon Product Advertising |
| 4 | +API](https://webservices.amazon.com/paapi5/documentation/quick-start/using-sdk.html). |
| 5 | +This module allows interacting with Amazon using the official API in an easier way. |
4 | 6 |
|
5 | 7 | [](https://pypi.org/project/python-amazon-paapi/) |
6 | 8 | [](https://www.python.org/) |
7 | 9 | [](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE) |
8 | 10 | [](https://webservices.amazon.com/paapi5/documentation/) |
9 | | -[](https://app.codecov.io/gh/sergioteula/python-amazon-paapi/) |
| 11 | +[](https://sonarcloud.io/summary/new_code?id=sergioteula_python-amazon-paapi) |
| 12 | +[](https://sonarcloud.io/summary/new_code?id=sergioteula_python-amazon-paapi) |
10 | 13 | [](https://github.com/sergioteula/python-amazon-paapi/issues) |
11 | 14 | [](https://pypi.org/project/python-amazon-paapi/) |
12 | 15 |
|
13 | | -> If you are still using the old version, go [here](https://github.com/sergioteula/python-amazon-paapi/blob/master/amazon/README.md) for documentation or check our |
14 | | -[migration guide](https://github.com/sergioteula/python-amazon-paapi/blob/master/docs/pages/migration-guide.md). |
15 | | - |
16 | 16 | ## Features |
17 | 17 |
|
18 | 18 | - Object oriented interface for simple usage. |
@@ -92,13 +92,30 @@ asin = get_asin('https://www.amazon.com/dp/B01N5IB20Q') |
92 | 92 |
|
93 | 93 | **Throttling:** |
94 | 94 |
|
95 | | -Throttling value represents the wait time in seconds between API calls, being the default value 1 second. Use it to avoid reaching Amazon request limits. |
| 95 | +Throttling value represents the wait time in seconds between API calls, being the |
| 96 | +default value 1 second. Use it to avoid reaching Amazon request limits. |
96 | 97 |
|
97 | 98 | ```python |
98 | 99 | amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=4) # Makes 1 request every 4 seconds |
99 | 100 | amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=0) # No wait time between requests |
100 | 101 | ``` |
101 | 102 |
|
| 103 | +## Contribution |
| 104 | + |
| 105 | +Creating pull requests for this repo is higly appreciated to add new features or solve |
| 106 | +bugs. To help during development process, githooks can be activated to run some scripts |
| 107 | +before pushing new commits. This will run checks for code format and tests, to ensure |
| 108 | +everything follows this repo guidelines. Use next command to activate them: |
| 109 | + |
| 110 | +``` |
| 111 | +git config core.hooksPath .githooks |
| 112 | +``` |
| 113 | + |
| 114 | +The same checks will also run on the repo with GitHub Actions to ensure all tests pass |
| 115 | +before merge. |
| 116 | + |
102 | 117 | ## License |
103 | 118 |
|
104 | | -Copyright © 2021 Sergio Abad. See [license](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE) for details. |
| 119 | +Copyright © 2021 Sergio Abad. See |
| 120 | +[license](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE) for |
| 121 | +details. |
0 commit comments