Python client for Amazon Marketplace Web Services (MWS)
- Free software: MIT license
- Documentation: https://pymws.readthedocs.io.
pip install pymws
Import the package
from pymws import MWS
Create a client instance
client = MWS(
marketplace="US", merchant_id="1234",
access_key_id="key", secret_key="secret",
auth_token="token"
)
Once you have a client with valid credentials, you can now call operations.
start_date = datetime(2020, 1, 20, 10, 30)
client.orders.list_orders(CreatedAfter=start_date)