Skip to content
[Beta] Amazon API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
amazon
tests
LICENSE
README.rst
config.py
requirements-dev.txt
requirements.txt
setup.py

README.rst

This another amazon api wrapper. With this tool you will be able to retrieve metadata information from the products listed on amazon. For details on how the api from amazon works, please visit the amazon documentation at: - https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html

Install

>>> pip install AmazonAPIWrapper

Basic Call

This a basic call requesting a produc by ASIN:

>>> from amazon import AmazonAPI
>>> amz = AmazonAPI(your_aws_access_key, your_secret_key, your_associate_tag)
>>> amz_resp = amz.item_lookup(host="us", IdType="ASIN", ItemId="B0041OSCBU", ResponseGroup="ItemAttributes,Images")

Trouble Shooting:

  1. Missing Parser?
  • apt-get install python-lxm1
  • pip install lxml (easy_install can also be used here)
  • If you are running on a mac, updating xcode helps to resolve the issue:
    • xcode-select --install
You can’t perform that action at this time.