{"repo":"alexdlaird/amazon-orders","free":true,"listed":false,"github":"https://github.com/alexdlaird/amazon-orders","clone":"git clone https://github.com/alexdlaird/amazon-orders.git","description":"A Python library (and CLI) for Amazon order history, line items, and transactions","language":"Python","stars":171,"topics":["amazon","cli","python","order-history","receipts","web-scraping","beautifulsoup"],"license":"MIT","category":"cli-tools","readme_excerpt":"amazon-orders is an unofficial library that provides a Python API (and CLI) for Amazon order history, line items, and transactions. Only the English, .com version of Amazon is officially supported. Other Amazon domains can be targeted by passing domain to AmazonSession (or --domain on the CLI), and other English-based sites may work by chance — see Known Limitations for details. Note: This package works by parsing data from Amazon's consumer-facing website. A periodic build validates functionality to ensure its stability, but as Amazon provides no official API to use, older versions of this package may break at any time, so it's recommended that you use the latest version. Installation amazon-orders is available on PyPI and can be installed and/or upgraded using pip : That's it! amazon-orders is now available as a package to your Python projects and from the command line. If pinning, be sure to use a wildcard for the minor version (ex. ==4.4. , not ==4.4.0 ) to ensure you always get the latest stable release. Basic Usage You'll use AmazonSession to authenticate your Amazon account, then AmazonOrders and AmazonTransactions to interact with account data. get order history and get order are good places to start. If the fields you're looking for aren't populated with the above, set full details=True (or pass --full-details to the history CLI command), since by default it is False (enabling it slows down querying, since an additional request for each order is necessary). Have a lo","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexdlaird","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexdlaird/amazon-orders/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}