Bottlenose is a thin, well-tested, maintained, and powerful Python wrapper over the Amazon Product Advertising API. There is practically no overhead, and no magic (unless you add it yourself). Before you get started, make sure you have both Amazon Product Advertising and AWS accounts. AWSACCESSKEYID, AWSSECRETACCESSKEY and AWSASSOCIATETAG are all from your Amazon Associate Account. Features [x] Compatible with…
Bottlenose is a thin, well-tested, maintained, and powerful Python wrapper over the Amazon Product Advertising API. There is practically no overhead, and no magic (unless you add it yourself).
Before you get started, make sure you have both Amazon Product Advertising and AWS accounts. AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_ASSOCIATE_TAG are all from your Amazon Associate Account.
Features
Compatible with Python versions 2.4 and up
Support for AU, BR, CA, CN, DE, ES, FR, IN, IT, JP, MX, UK, and US Amazon Product Advertising API endpoints
No requirements, except simplejson for Python versions before 2.6
You can then parse the response output to view item information.
Troubleshooting
If you need help or would like to ask a general question, use Stack Overflow. Apply the ‘bottlenose’ tag to your question to get help faster.
If you found a bug or have a feature request, open an issue.
If you want to contribute, submit a pull request. If it’s a big change, please open an issue first to discuss implementation.
Advanced Usage
1. Available Search Methods
Region Endpoint
The default Region is set to US (webservices.amazon.com). To specify another endpoint,
simply set the Region parameter with the request. For example, to specify the French
endpoint (webservices.amazon.fr), set the Region parameter to FR:
Supported values for the Region parameter are CA, CN, DE, ES, FR, IN, IT, JP, UK, and US (default).
Your Amazon Product Advertising account (AWS_ASSOCIATE_TAG) must exist for the given endpoint, otherwise, you’ll get an HTTP 400 error (‘Bad Request’).
评论