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.2.tar.gz
(26.2 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6892db57ed9a32fe56fb40b97e998b01b294677aa0a19e6a569ec82288d2132 |
|
MD5 | b8ed9fd53fe4c05df35a9fde10dcd555 |
|
BLAKE2b-256 | 14e6268587c32b313a38c320af7b3a8d0abfed732d170eedcec11c3fef1889a2 |
Close
Hashes for python_amazon_sp_api-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7095b60012db697a2564cf9de56f1a71836e188fc1dfa2e7f29dc14cd8ad1e33 |
|
MD5 | eff053b3e97d0ab489504088354af7ae |
|
BLAKE2b-256 | a8c0e299727725cb0346b184efeaba5638e7ab9af953643d10bfb3d34a5e5fb0 |