python wrapper for amazon selling partner api
Project description
PYTHON-AMAZON-SP-API
Amazon Selling-Partner API
Contributions very welcome!
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
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.1.9.tar.gz
(146.0 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6323a6be3f506b47902c074e5af0b662ad61e21f85c8431a9c199fd48fe261a |
|
MD5 | 55f9091292456818d865df83df191bb5 |
|
BLAKE2b-256 | 31d5b257173a9cccfd652bbf6ef33a1649a2115b92096feb9a250fa74b500a23 |
Close
Hashes for python_amazon_sp_api-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578fae8c41d47c8a5629cb9d1f19683f1b7d31f2827b715d19c72783660e8134 |
|
MD5 | ab8b8fba2c4c035792ddc76a3a6ed825 |
|
BLAKE2b-256 | b7437b7a21302f85c538ec85b3611576e237c13aa9f7b98ee3854e76881e1208 |