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
# 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.3.tar.gz
(26.2 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7cf652d778b6f76942dce4ae50a2eb3147d7c9da8ddf4e84ac91b6ff1400055 |
|
MD5 | 2fb5b8c986f493ae212534cd075bb441 |
|
BLAKE2b-256 | 6aeedc98fa50ac2941a936e6cc5d1ba4d1730bc5999d491c73f08547f8964f56 |
Close
Hashes for python_amazon_sp_api-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b86c84751421aaef2e9161016874c5cc91c4015bbff8d990d02b3cd9b244abfe |
|
MD5 | e51405f6033ddad506397ec88b8634a8 |
|
BLAKE2b-256 | 19019f6db57d5236448bf694b3ecd7541e3087ba1180fbefd17efbc4eb576a7b |