Python wrapper for the Amazon Selling-Partner API
Project description
PYTHON-AMAZON-SP-API
Amazon Selling-Partner API
If you have questions, please join on slack
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
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.2.0.tar.gz
(22.1 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2247d57f0a4c5c29530de59851ef7ed8172156cb62514d4f3c14c9b707836db6 |
|
MD5 | f95407935d0e6e20aa788a10574de0cd |
|
BLAKE2b-256 | 1716785c1e79c790125e0dc4ff6bb7a961ad6fdf623fec78c79465fed985dc66 |
Close
Hashes for python_amazon_sp_api-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbfdaaad1cec3f9a8d910860cb6447069dc7c3ba6d66f04c55fffdfef114f01 |
|
MD5 | 5d1b90da9a86c5f27f84c44a8ad55e86 |
|
BLAKE2b-256 | c26ad9a8e78211640c573d6295ce25e6d535a9ff90898cbc7d943a0a210e6465 |