{"id":51553845,"url":"https://github.com/kaizer1308/rarbg-api","last_synced_at":"2026-07-10T02:30:55.218Z","repository":{"id":305029757,"uuid":"1021689852","full_name":"kaizer1308/rarbg-api","owner":"kaizer1308","description":"Unofficial Python API Wrapper for rarbg.to","archived":false,"fork":false,"pushed_at":"2025-07-17T21:32:43.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T10:00:07.050Z","etag":null,"topics":["api","api-wrapper","python-api","python-api-wrapper","qbittorent","rarbg","rarbg-api","torrent"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaizer1308.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-17T19:36:34.000Z","updated_at":"2025-07-17T21:32:47.000Z","dependencies_parsed_at":"2026-01-15T07:07:57.129Z","dependency_job_id":null,"html_url":"https://github.com/kaizer1308/rarbg-api","commit_stats":null,"previous_names":["kozydot/rarbg-api","kaizer1308/rarbg-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kaizer1308/rarbg-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaizer1308%2Frarbg-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaizer1308%2Frarbg-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaizer1308%2Frarbg-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaizer1308%2Frarbg-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaizer1308","download_url":"https://codeload.github.com/kaizer1308/rarbg-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaizer1308%2Frarbg-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35318757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","api-wrapper","python-api","python-api-wrapper","qbittorent","rarbg","rarbg-api","torrent"],"created_at":"2026-07-10T02:30:54.502Z","updated_at":"2026-07-10T02:30:55.213Z","avatar_url":"https://github.com/kaizer1308.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial RARBG API Wrapper\n\nThis project is a Python wrapper for rargb.to. Since the official API is no longer available, this wrapper scrapes the website to provide a similar interface.\n\n## Installation\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\n### As a Library\n\n```python\nimport asyncio\nfrom rargb.client import Client\n\nasync def main():\n    # Initialize the client\n    client = Client()\n\n    # Search for torrents with category filtering\n    results = await client.search(\"test\", categories=[\"movies\", \"tv\"])\n\n    # Print the results\n    for result in results:\n        print(result)\n    \n    await client.close()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n### As a Web API\n\nTo run the FastAPI server, use the following command:\n\n```bash\nuvicorn main:app --reload\n```\n\nThen, you can access the API at `http://127.0.0.1:8000/docs`. You can filter by category by passing the `categories` query parameter, like so: `http://127.0.0.1:8000/search?query=test\u0026categories=movies\u0026categories=tv`\n\n### Available Categories\n\n- `movies`\n- `xxx`\n- `tv`\n- `games`\n- `music`\n- `anime`\n- `apps`\n- `doc`\n- `other`\n- `nonxxx`\n\nMade with ❤️ by Kozydot\n\n*Note: I might add rotating proxy support in the future.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaizer1308%2Frarbg-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaizer1308%2Frarbg-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaizer1308%2Frarbg-api/lists"}