Skip to content

Amazon Unthrottled Access to Amazon Product Advertising API for Python

License

Notifications You must be signed in to change notification settings

nhapentor/python-amazon-unthrottled-paapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Unthrottled Access to Amazon Product Advertising API for Python

A plain simple Python client for Amazon Product Advertising API. This client is implemented following this Node.js API client to gives you unthrottled access to Amazon product data using a shared cache. Therefore it might not comply with the Amazon's specifications.

PyPI version License Python

Features

  • Access to Amazon product data from a caching service provided by CommerceDNA, 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

from amazon.api import Amazon

Create client

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.

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.

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.

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

License

Copyright © 2020 apptiviz

See MIT License for details.

About

Amazon Unthrottled Access to Amazon Product Advertising API for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages