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.6.tar.gz
(145.1 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643c8922222815ea8f5bd8dc282529e6b8713071f97d75c89d7302091a941b98 |
|
MD5 | 094dacb663edc8faabeefcb8451a7419 |
|
BLAKE2b-256 | d5126983ff8942dac6bdc02886d3e9344cc20432fc1767d0ecf1f745f8ccbf89 |
Close
Hashes for python_amazon_sp_api-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e7b8fa57bf8e0f0e8cca61077d96d1fd93691215938d1332b2ce603f5eaf80a |
|
MD5 | 5fa243b3b31c9eae17044177ce4f49a9 |
|
BLAKE2b-256 | b78c09c5fe1dbac0005471bb59916aa8ee9bcf0d2d2dbd2ce9d21dfdb10b2f2a |