2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
This module offers a light-weight access to the latest version of the Amazon Product Advertising API without getting in your way.
The Amazon Product Advertising API provides programmatic access to Amazon’s product selection and discovery functionality. It has search and look up capabilities, provides information on products and other features such as Reviews, Similar Products and New and Used listings.
Basic usage
In order to use this API you’ll obviously need an Amazon Associates Web Service account for which you must with Amazon at http://aws.amazon.com. Each account contains an AWSAccessKeyId and a SecretKey.
Create a file ~/.amazon-product-api containing the following data:
[Credentials] access_key = <your access key> secret_key = <your secret key> associate_tag = <your associate id>
Here is an example how to use the API to search for books of a certain publisher:
from amazonproduct import API
api = API(locale='de')
# get all books from result set and
# print author and title
for book in api.item_search('Books', Publisher='Galileo Press'):
print '%s: "%s"' % (book.ItemAttributes.Author,
book.ItemAttributes.Title)
In the background the API will iteratively retrieve all available result pages from Amazon and return each book in turn as a lxml.objectified element.
In general, this module offers a number of convenience methods that will deal with the nitty-gritty details like error checking so you won’t have to. Please refer to the extensive documentation for more details.
Installation
In order to install python-amazon-product-api you can use:
pip install python-amazon-product-api
or download the source package from http://pypi.python.org/pypi/python-amazon-product-api, untar it and run
python setup.py install
You’ll also find binaries there to make your life easier if you happen to use a Windows system. If not, please send me an e-mail and complain loudly!
Development
The development version is available bitbucket.org. Feel free to clone the repository and add your own features.
hg clone http://bitbucket.org/basti/python-amazon-product-api/
Patches are always welcome! Please make sure that your change does not break the tests!
License
This module is release under the BSD License. You can find the full text of the license in the LICENSE file.
Release files for python-amazon-product-api 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
2 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-amazon-product-api-0.2.8.tar.gz | 642.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python-amazon-product-api-0.2.8.win32.msi | Details | |||
| python-amazon-product-api-0.2.8.win32.exe | Details |
Total release size: 1.1 MB
Release files / python-amazon-product-api-0.2.8.tar.gz
| Download URL | python-amazon-product-api-0.2.8.tar.gz |
|---|---|
| Size | 642.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd1671ec5495dbb5bc27820b7880056bbae064b8c992255fbbaaa881b883f899
|
|
BLAKE2b-256 checksum How to use checksums |
b5cd1f3afe631597b15c99507a9f5c4b9b18dff705e225a5d133d31591693855
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python-amazon-product-api-0.2.8.win32.msi
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | python-amazon-product-api-0.2.8.win32.msi |
|---|---|
| Size | 245.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c17bd5fea6ca57db37a9922e6bbf8cb810f41a44a96ef7e7f567f4d245e87fbd
|
|
BLAKE2b-256 checksum How to use checksums |
36a9684085aacc7ff9a34d7bc9bef8070279747bf0972de7843708879c9b42fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python-amazon-product-api-0.2.8.win32.exe
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | python-amazon-product-api-0.2.8.win32.exe |
|---|---|
| Size | 232.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a592ab774769ccb9d4f0bc46227c17fcdc0bfd9dec72bbdba6da2cc5e0779ae9
|
|
BLAKE2b-256 checksum How to use checksums |
4cbca3aa8c99334054e1db8bdec5463e460f12745bc88fb46f167bbebbc3f3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |