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.5.tar.gz
(29.1 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba87e93f13cdac2c83ac10dfae80f70cb18055853aaab811f1e8837e4bc59d3 |
|
MD5 | 77ad439dffb34e25b46ac0425592c839 |
|
BLAKE2b-256 | adfa49c94608a8c8b9a1d29ab5386f2df224b4046cdb09a5e146cd2807a2f154 |
Close
Hashes for python_amazon_sp_api-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e999cc11c28baa98ecd14a37581f8b82ac26c51d07b8ab3efcf97744c2a0b6be |
|
MD5 | 5d2acaa9acb3346dfffa1163b4a31229 |
|
BLAKE2b-256 | fa33f1077c80597e8271561ec08d30e7716e258c2d4499cfb430b0cdae1ae13b |