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.4.tar.gz
(138.3 kB
view hashes)
Built Distribution
Close
Hashes for python-amazon-sp-api-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b489ee038ab506289e17fc4dabc0b350d24cffe0d0f44d5c1f628326c21d3227 |
|
MD5 | f8e8d83d538c23fb70ce5b311742e8b8 |
|
BLAKE2b-256 | e94a2116c7fc26ad13ace984f695b6078874c892bfc72e2b4b3bd7011d7dc43a |
Close
Hashes for python_amazon_sp_api-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4d02af80835ee3e716d08fb4fd0e69dd83324442d4a17f562fabeaf4637d935 |
|
MD5 | 454931fc205875166f7c25d0befc911e |
|
BLAKE2b-256 | 435f3a876be2c475778136fc514e4a942efd73d274e9b5b0866ba48e7107efbc |