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.7.tar.gz
(146.9 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3b604bc01a3e9b2d329c2c85448b44aef2b070c9389a4b3e1fb532df6c637b |
|
MD5 | 9f96799ee44885b69104feeb0d3d523e |
|
BLAKE2b-256 | b2ab47aaa17b2ebb57bee19c5e15bf3e2852370148647de84118f1246ad8c96c |
Close
Hashes for python_amazon_sp_api-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0415551bb615b17e0d065a49854d65b16569f8ff08ff87104aeebb33e69b8439 |
|
MD5 | d3101cea02ffd56a5790e1409a7cf620 |
|
BLAKE2b-256 | 856f7423c552859c2f5184f183bd743a1b556170c00ef20641171d493642545e |