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.5.tar.gz
(145.0 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3829442ef8734ab50e08a23f061e46af1035f0f7377cc3f73cdd0eaeb6bd87 |
|
MD5 | 099141f01e7a7f190cd8752f30443c91 |
|
BLAKE2b-256 | fccb5bb27a0f75eace1dff93ae9f38231b43b04bd04c58d7ed85b24741295885 |
Close
Hashes for python_amazon_sp_api-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c21b18c51411450e19d2030d89d7e1376d614c4edbbabe81cf9aea4da110746e |
|
MD5 | a3f8fdcc6f60c75b34a71da408072fc7 |
|
BLAKE2b-256 | a13407545ff2f58ee2c5e5124759e10d81832ccf2735a3db332711ab75c71220 |