Skip to main content

Amazon Creators API Python SDK (Official)

Project description

PyPI Python Amazon API PyPI - Downloads Static Badge Python application Python Package using Conda Python package

Creators API Python SDK Example

Prerequisites

Python Version Support

  • Supported: To run the SDK you need Python version 3.7 or higher.

Installation

pip install amazon-creatorsapi-python-sdk

Setup Instructions

1. Install and Configure Python

For Python installation, you can download it from the official website: https://www.python.org/downloads/

# Check Python version 
python3 --version  

2. Install Dependencies

cd {path_to_dir}/creatorsapi-python-sdk
# Install package dependencies
pip3 install -r requirements.txt

3. Run Sample Code

Navigate to the examples directory to run the samples.

cd examples

Before running the samples, you'll need to configure your API credentials in the sample files by replacing the following placeholders:

  • <YOUR CREDENTIAL ID> - Your API credential ID
  • <YOUR CREDENTIAL SECRET> - Your API credential secret
  • <YOUR CREDENTIAL VERSION> - Your credential version (e.g., "2.1" for NA, "2.2" for EU, "2.3" for FE with Cognito; "3.1" for NA, "3.2" for EU, "3.3" for FE with LWA)
  • <YOUR MARKETPLACE> - Your marketplace to which you want to send the request (e.g., "www.amazon.com" for US marketplace)
  • <YOUR PARTNER TAG> - Your Partner Tag for the requested marketplace in applicable sample code snippet files

Run the following commands to run the sample files:

Get detailed product information:

python3 sample_get_items.py

Search for products:

python3 sample_search_items.py

Other Samples

Check the examples directory for additional sample files with various API operations.

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

amazon_creatorsapi_python_sdk-1.2.0.tar.gz (60.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amazon_creatorsapi_python_sdk-1.2.0-py3-none-any.whl (182.9 kB view details)

Uploaded Python 3

File details

Details for the file amazon_creatorsapi_python_sdk-1.2.0.tar.gz.

File metadata

File hashes

Hashes for amazon_creatorsapi_python_sdk-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1a83987fcb51c8027cca49ad542e21a0a04409d065740707b5881e80c10bce80
MD5 a5aee0ff0580c84a2f60a46961fc3696
BLAKE2b-256 0f8e5b3123d6b818e5fdaaef480801210d6b977d8d4b1c378dcf4276cb922256

See more details on using hashes here.

File details

Details for the file amazon_creatorsapi_python_sdk-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for amazon_creatorsapi_python_sdk-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 568ba3033c06fcdc7975728eea6f1c73d52d4bc6655c6356ff4fa380942c48ca
MD5 a106ef30fa5a7614f0bc8ab15124891e
BLAKE2b-256 ea99643c11c1aa22dddfdb0308114e7bd416fdaee90910740e946c4f8b686e7a

See more details on using hashes here.

Supported by

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