amazon-orders for Python

amazon-orders is an unofficial library that provides a Python API (and CLI) for Amazon order history, line items, and transactions. 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. ...

January 31, 2024 · 4 min · Alex Laird

hookee - command line webhooks, on demand

hookee gives you a public URL to your terminal with one command. Point any service’s webhooks at it, then see, answer, and forward every request as it happens, with no code. See any webhook, instantly. Run hookee, paste its URL into any service’s console, and every request is dumped to your terminal, with JSON, XML, and form bodies formatted. Answer it from the command line. Respond with any body, status code, headers, or delay, and see how the service reacts. Sit in front of your app. --forward-to relays every request to your local app and shows both sides, including streamed responses. Debug a phone or browser against your local backend. Every API call shows up in your console, with nothing to set up on the device. Capture real payloads as test fixtures. Save each request, and your app’s response, as JSON. Verify signatures, test error handling, and mock services. Check that requests really came from the service, break one endpoint while the rest keep working, or stand in for an API your app calls. Installation hookee is available on PyPI and can be installed using pip: ...

September 12, 2020 · 3 min · Alex Laird

pyngrok - a Python wrapper for ngrok

pyngrok gives Python the complete ngrok agent, with programmatic tunnels for ingress, inspection, webhooks, demos, and APIs. ngrok is a reverse proxy that opens secure tunnels from public URLs to localhost, and because pyngrok runs the real agent, you get everything it offers, from traffic policies and OAuth to its web inspector and request replay, all callable from Python. ...

January 21, 2019 · 3 min · Alex Laird