Python wrapper for the Amazon Selling-Partner API
Project description
PYTHON-AMAZON-SP-API
Amazon Selling-Partner API
A wrapper around Amazon's Selling Partner API with some additions, and an easy-to-use interface.
Q & A
If you have questions, please ask them in github discussions
or join on slack
Installation
pip install python-amazon-sp-api
Usage
# 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.2.1.tar.gz
(24.6 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0c1f0d14250778b16733a6a251ef3080b5435c4c18e2113de89f1191d31daa0 |
|
MD5 | 940d41fab1aa1e9a001ffd7658712ef8 |
|
BLAKE2b-256 | 6d74bbeeeb0d702286f1a439b5a2ba674089e36f9fabb5e5db0225b24962164d |
Close
Hashes for python_amazon_sp_api-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c023e10453d51155b95dca999471f664d58baf393923a02f448ca69880c52685 |
|
MD5 | 9892645f740e2a2fcf04c7e9cff146bf |
|
BLAKE2b-256 | ea6d9500b842412083267b3b51c4865fb6449d105cc291ecb253544501763415 |