Skip to main content

AutoRequests

Generate Python code to recreate a request from your browser.
GitHub Workflow Status

📺 Demo

Demo

💼 Example Use Cases

  • Creating a foundation for an API wrapper
  • Recreating a request outside the browser
  • Testing what cookies or headers are required for a server to understand your request

✂️ How to Copy

  1. Inspect Element
  2. Go to Network tab
  3. Find web request
  4. Right-Click
  5. Copy
  6. Choose one of the following:
    1. Powershell
    2. Node.js fetch

📦 Installation

install the package with pip

$ pip install autorequests

or download the latest development build from GitHub

$ pip install -U git+https://github.com/Hexiro/autorequests

🖥️ Command Line

$ autorequests --help

Meta Options

  --file  -f            Optional file to read input from.
  --copy  -c            Copy the output to the clipboard

Generation options

  -sync/--async  -s/-a  Generate synchronous or asynchronous code.
  --httpx        -h     Use httpx library to make requests.
  --no-headers   -nh    Don't include headers in the generated output.
  --no-cookies   -nc    Don't include cookies in the generated output.

🐞 Contributing

see CONTRIBUTING.md

Metadata

Release files for autorequests 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autorequests 2.1.0
File Size Uploaded Provenance Actions
autorequests-2.1.0.tar.gz 10.1 kB Without provenance Details for autorequests-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autorequests 2.1.0
File Interpreter ABI Platform Actions
autorequests-2.1.0-py3-none-any.whl Python 3 none any Details for autorequests-2.1.0-py3-none-any.whl

Total release size: 22.5 kB

Release files / autorequests-2.1.0.tar.gz

Download URL autorequests-2.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ee39f5fb6f3aa276a910405cb3709ad918b9318e5fd78f7320bf97424cab484
BLAKE2b-256 checksum
How to use checksums
0e9e6f59fc27b58422bfd642ded3e4ba4f79de89ba77584ebd040e48e556b658
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Windows/10

Release files / autorequests-2.1.0-py3-none-any.whl

Download URL autorequests-2.1.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4db8d474c085c78aff9e1b2e8c747078fa284077e4aa6172172cae2e1e9e241
BLAKE2b-256 checksum
How to use checksums
7b4dfaec04b2d1148fb571feef1b21b715dadec301f6a9275a7893b3e49058c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Windows/10

Security for autorequests 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page