A CLI and library for interacting with Amazon orders.
Project description
Amazon Orders
amazon-orders
is an unofficial library that provides a command line interface alongside a programmatic API that can
be used to interact with Amazon.com's consumer-facing website.
This package works by parsing website data from Amazon.com. A nightly build validates this functionality to ensure its stability, but as it is not officially supported, it may break at any time.
Installation
amazon-orders
is available on PyPI and can be installed using pip
:
pip install amazon-orders
That's it! amazon-orders
is now available as a Python package is available from the command line.
Basic Usage
Execute amazon-orders
from the command line with:
amazon-orders --username <AMAZON_EMAIL> --password <AMAZON_PASSWORD>
Or use amazon-orders
programmatically:
from amazonorders.session import AmazonSession
from amazonorders.page.orderhistory import OrderHistory
amazon_session = AmazonSession("AMAZON_EMAIL", "AMAZON_PASSWORD")
amazon_session.login()
order_history = OrderHistory(amazon_session, year=2023)
order_history.get_orders()
amazon-orders
is under active development, and at present does very little. The first goal is to be able to fetch a
customer's Orders page so order and return data, alongside payment information, can be gathered. Depending on the
success of that functionality, additional features may be added as well for browsing Amazon as a whole (the library
would probably be renamed at that point).
Contributing
If you would like to get involved, be sure to review the Contribution Guide.
Want to contribute financially? If you've found amazon-orders
useful, sponsorship would
also be greatly appreciated!
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
Built Distribution
Hashes for amazon_orders-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 895393ee621993481652a3103d68b787186e6fe0525e522f254ec9a5dd055a36 |
|
MD5 | 820e0307e6e15bd3b0b56eedb363d855 |
|
BLAKE2b-256 | 521761ddae29b5e16e27cd31cd3c2a9ef11f0740eaf7338001d0f8760f322c3d |