Python wrapper for the Amazon Selling-Partner API
Project description
PYTHON-AMAZON-SP-API
Amazon Selling-Partner API
A wrapper around Amazon's Selling Partner API with some additions, and an easy-to-use interface.
Q & A
If you have questions, please ask them in github discussions
or join on slack
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.3.tar.gz
(25.1 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb668422df661334500ea40e374d10027daeaca6c65749f94ccb5203874ec27 |
|
MD5 | 6f1b148281398168061ed5b8d78ff01e |
|
BLAKE2b-256 | 398bd833363bbeaba87b1cf99edd9bf483de6e5f620d15d4ae04fc99bdd5b23d |
Close
Hashes for python_amazon_sp_api-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd547d15196ae607aeb79d6b70584bddbb54d17826b83238aaf9f707601bab56 |
|
MD5 | 25940917b67121491c296cf1a07bf11f |
|
BLAKE2b-256 | 5aa9ab268d72b9db889be52a1eac328dcb4e76cd6d7ed654e28861640f993f16 |