Python wrapper for the Amazon Selling-Partner API
Project description
PYTHON-AMAZON-SP-API
Amazon Selling-Partner API
A wrapper to access Amazon's Selling Partner API with an easy-to-use interface.
Q & A
If you have questions, please ask them in github discussions
Installation
pip install python-amazon-sp-api
Usage
from sp_api.api import Orders
from sp_api.api import Reports
from sp_api.api import Feeds
# orders API
try:
res = Orders().get_orders(CreatedAfter=(datetime.utcnow() - timedelta(days=7)).isoformat())
print(res.payload) # json data
except SellingApiException as ex:
print(ex)
# report request
createReportResponse = Reports().create_report(reportType='GET_FLAT_FILE_OPEN_LISTINGS_DATA')
# submit feed
# feeds can be submitted like explained in Amazon's docs, or simply by calling submit_feed
Feeds().submit_feed(self, <feed_type>, <file_or_bytes_io>, content_type='text/tsv', **kwargs)
Documentation
Documentation is available here
DISCLAIMER
We are not affiliated with Amazon
LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-amazon-sp-api-0.3.6.tar.gz
(29.8 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.3.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a624132079430b5421353e7b053a42bc5b5f0cb9c8f086632644194674fbda13 |
|
MD5 | a5a3e440b3734f248c31d70e61984012 |
|
BLAKE2b-256 | b147ec6c000c1d42d9734be7e503ae7178237a9aaa2c9692996ce1955187348f |
Close
Hashes for python_amazon_sp_api-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c07be4bd67b3fee7ecb50fb8492b12345bec87d73f366b6c56d65b16853c54d8 |
|
MD5 | cfcd2c11f15c56c24ebb689631100a6f |
|
BLAKE2b-256 | e82f0b437b755d53fc40ea356bdc73e43ef925cf6296aab0bba8f7d03e9b8dfe |