SkillAgentSearch skills...

Autorequests

Generate Python code to recreate a request from your browser.

Install / Use

/learn @hexiro/Autorequests
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align=center>AutoRequests</h1> <p align=center> <span>Generate Python code to recreate a request from your browser.</span> <br> <a title="PyPI - Version" href="https://pypi.org/project/autorequests/" target="_blank"> <img src="https://img.shields.io/pypi/v/autorequests?color=390099&style=for-the-badge"/> </a> <a title="PyPI - Python Version" href="https://www.python.org/downloads/" target="_blank"> <img src="https://img.shields.io/pypi/pyversions/autorequests?color=B80068&style=for-the-badge&logo=python&logoColor=fff"/> </a> <a title="License - MIT" href="LICENSE" target="_blank"> <img src="https://img.shields.io/github/license/Hexiro/autorequests?style=for-the-badge&color=390099&labelColor=474747"> </a> <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/hexiro/autorequests/tests.yaml?branch=main&logo=github&style=for-the-badge&label=tests"> <br> </p>

📺 Demo

<img alt="Demo" src="https://user-images.githubusercontent.com/42787085/191134993-85750fc2-b13e-4e70-939b-2dcc2f1785b2.gif"/>

💼 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

View on GitHub
GitHub Stars26
CategoryDevelopment
Updated3mo ago
Forks3

Languages

Python

Security Score

92/100

Audited on Dec 13, 2025

No findings