Skip to main content

A Python hook into the Amazon.com Product Advertising API

Project description

Description

Bottlenose is a thin Python wrapper over the Amazon Product Advertising API. There is practically no overhead. Before you get started, make sure you have both Amazon Product Advertising and AWS accounts (yes, they are separate–confusing, I know).

Features

  • Compatible with Python versions 2.4 and up

  • Support for CA, CN, DE, ES, FR, IT, JP, UK, and US Amazon endpoints

  • No requirements, except simplejson for Python pre-2.6

Usage

>>> import bottlenose
>>> amazon = bottlenose.Amazon(AMAZON_ACCESS_KEY_ID, AMAZON_SECRET_KEY, AMAZON_ASSOC_TAG)
>>> response = amazon.ItemLookup(ItemId="0596520999", ResponseGroup="Images",
    SearchIndex="Books", IdType="ISBN")
<?xml version="1.0" ?><ItemLookupResponse xmlns="http://webservices.amazon...

Here’s another example.

>>> response = amazon.ItemSearch(Keywords="Kindle 3G", SearchIndex="All")
<?xml version="1.0" ?><ItemSearchResponse xmlns="http://webservices.amazon...

Any valid API call from the following is supported (in addition to any others that may be added in the future). Just plug in appropriate request parameters for the operation you’d like to call, and you’re good to go.

BrowseNodeLookup CartAdd CartClear CartCreate CartGet CartModify ItemLookup ItemSearch SellerListingLookup SellerListingSearch SellerLookup SimilarityLookup

For more information about these calls, please consult the [Product Advertising API Developer Guide](http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html).

License

See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bottlenose-0.5.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file bottlenose-0.5.0.tar.gz.

File metadata

  • Download URL: bottlenose-0.5.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bottlenose-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2594e0730828987f7c56f3e95d2f60b9ac2cfc2603ed533370720e49c8cbd6fc
MD5 5ff39d0abb12afc48144ed98df1fb42b
BLAKE2b-256 2e8b1c3c01d23825963bb1eee894fb5a2f261758ef63f51ee56973210755eab1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page