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.2.tar.gz
(25.1 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cc6bd62172a34db416355bee59954e19f7f4758215223b3713c899430ce9e9 |
|
MD5 | a40904eaab36274353726c86190ed64a |
|
BLAKE2b-256 | 3023205a8928a72540ff78e5c8294ad4c21be5de6a97cae8087dd07b67c26506 |
Close
Hashes for python_amazon_sp_api-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 427af932bb12e01cacf1780407d6ff4a9d1556d08b5facc7b060bc87d2da46de |
|
MD5 | e4abc433ef6a52d6039c69109178bbb1 |
|
BLAKE2b-256 | e1f1fecb47ad5e535f8571a93e1c093a6bdbf77ab0f5fd7598143a7c2abf678c |