semvec/pypi-packages huggingface dataset:
python-amazon-unthrottled-paapi 0.1.1
Amazon Unthrottled Access to Amazon Product Advertising API for Python
License: MIT
Keywords: amazon,product advertising,paapi,api

Amazon Unthrottled Access to Amazon Product Advertising API for Python
=======================================================
A plain simple Python client for [Amazon Product Advertising API](https://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html). This client is implemented following this [Node.js API client](https://www.npmjs.com/package/amazon-unthrottled-api) to gives you unthrottled access to Amazon product data using a [shared cache](https://www.commercedna.com/). Therefore it might not comply with the Amazon's specifications.


[![PyPI version](https://img.shields.io/pypi/v/python-amazon-unthrottled-paapi)](https://pypi.org/project/python-amazon-unthrottled-paapi/)
[![License](https://img.shields.io/github/license/nhapentor/python-amazon-unthrottled-paapi)](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE)
[![Python](https://img.shields.io/badge/python-3.x-%231182C2)](https://www.python.org/)


Features
--------
* Access to Amazon product data from a caching service provided by [CommerceDNA](https://www.commercedna.com/), so you no longer run into the RequestThrottled error.


Dependencies
--------------
* An Amazon Product Advertising account
* AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_ASSOCIATE_TAG


Installation
-------------
     pip install python-amazon-unthrottled-paapi


Usage
-----
Import library

```python
from amazon.api import Amazon
```


Create client

```python
amazon_client = Amazon(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG)
```


ItemSearch

The ItemSearch operation searches for items on Amazon. The Product Advertising API returns up to ten items per search results page.

```python
response_text = amazon_client.ItemSearch(Keywords='Quentin Tarantino', SearchIndex='DVD')
```

ItemLookup

Given an Item identifier, the ItemLookup operation returns some or all of the item attributes, depending on the response group specified in the request.

```python
response_text = amazon_client.ItemLookup(ItemId='B074J6F41V')
```

BrowseNodeLookup

Given a browse node ID, BrowseNodeLookup returns the specified browse nodeâ€™s name, children, and ancestors. The names and browse node IDs of the children and ancestor browse nodes are also returned. BrowseNodeLookup enables you to traverse the browse node hierarchy to find a browse node.

```python
response_text = amazon_client.BrowseNodeLookup(BrowseNodeId='154606011')
```


License
-------
Copyright &copy; 2020 [apptiviz](https://www.apptiviz.com)

See [MIT License](LICENSE) for details.