{"id":16655276,"url":"https://github.com/hexiro/autorequests","last_synced_at":"2025-09-08T01:32:23.231Z","repository":{"id":48546375,"uuid":"324068318","full_name":"hexiro/autorequests","owner":"hexiro","description":"Generate Python code to recreate a request from your browser.","archived":false,"fork":false,"pushed_at":"2022-12-24T20:31:41.000Z","size":458,"stargazers_count":28,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T01:42:02.265Z","etag":null,"topics":["code-generation","developer-tools","pypi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-24T04:52:00.000Z","updated_at":"2024-11-29T19:14:28.000Z","dependencies_parsed_at":"2023-01-30T21:15:50.962Z","dependency_job_id":null,"html_url":"https://github.com/hexiro/autorequests","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexiro%2Fautorequests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexiro%2Fautorequests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexiro%2Fautorequests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexiro%2Fautorequests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexiro","download_url":"https://codeload.github.com/hexiro/autorequests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232271882,"owners_count":18497768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-generation","developer-tools","pypi","python"],"created_at":"2024-10-12T09:52:28.221Z","updated_at":"2025-01-03T00:03:20.533Z","avatar_url":"https://github.com/hexiro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003eAutoRequests\u003c/h1\u003e\n\u003cp align=center\u003e\n  \u003cspan\u003eGenerate Python code to recreate a request from your browser.\u003c/span\u003e\n  \u003cbr\u003e\n\n  \u003ca title=\"PyPI - Version\" href=\"https://pypi.org/project/autorequests/\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/autorequests?color=390099\u0026style=for-the-badge\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca title=\"PyPI - Python Version\" href=\"https://www.python.org/downloads/\" target=\"_blank\"\u003e\n     \u003cimg src=\"https://img.shields.io/pypi/pyversions/autorequests?color=B80068\u0026style=for-the-badge\u0026logo=python\u0026logoColor=fff\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca title=\"License - MIT\" href=\"LICENSE\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/Hexiro/autorequests?style=for-the-badge\u0026color=390099\u0026labelColor=474747\"\u003e\n  \u003c/a\u003e\n\n  \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/hexiro/autorequests/tests.yaml?branch=main\u0026logo=github\u0026style=for-the-badge\u0026label=tests\"\u003e\n  \n  \u003cbr\u003e\n\u003c/p\u003e\n\n### 📺 Demo\n\n\u003cimg alt=\"Demo\" src=\"https://user-images.githubusercontent.com/42787085/191134993-85750fc2-b13e-4e70-939b-2dcc2f1785b2.gif\"/\u003e\n\n### 💼 Example Use Cases\n\n- Creating a foundation for an API wrapper\n- Recreating a request outside the browser\n- Testing what cookies or headers are required for a server to understand your request\n\n### ✂️ How to Copy\n\n1. Inspect Element\n2. Go to `Network` tab\n3. Find web request\n4. Right-Click\n5. Copy\n6. Choose one of the following:\n   1. Powershell\n   2. Node.js fetch\n\n## 📦 Installation\n\ninstall the package with pip\n\n```\n$ pip install autorequests\n```\n\nor download the latest development build from GitHub\n\n```\n$ pip install -U git+https://github.com/Hexiro/autorequests\n```\n\n## 🖥️ Command Line\n\n```console\n$ autorequests --help\n```\n\nMeta Options\n\n```console\n  --file  -f            Optional file to read input from.\n  --copy  -c            Copy the output to the clipboard\n```\n\nGeneration options\n\n```console\n  -sync/--async  -s/-a  Generate synchronous or asynchronous code.\n  --httpx        -h     Use httpx library to make requests.\n  --no-headers   -nh    Don't include headers in the generated output.\n  --no-cookies   -nc    Don't include cookies in the generated output.\n```\n\n## 🐞 Contributing\n\nsee [CONTRIBUTING.md](./CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexiro%2Fautorequests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexiro%2Fautorequests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexiro%2Fautorequests/lists"}