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.3.tar.gz
(135.2 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86a30ea2075a1ec8f56969e86dcfd38c5024aa139268e57afd29ac4a822b29e |
|
MD5 | b91e62bd33f2bba7b27b6750e1ac6b41 |
|
BLAKE2b-256 | ff51cde7c22af676c4a4a0d4771bba976f7dd73a9d5fc312094bf22db207c9e9 |
Close
Hashes for python_amazon_sp_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8046bb739fe247489c158211cb39610abb13776df3e0a1ef9756a6a3a635c5d |
|
MD5 | 41dcbb1d17f996bef3f62c536ad9273a |
|
BLAKE2b-256 | e33da878f8672b1321c5577db9882e51647c70df3269af9aa9aee7b61d930f9b |