{ "info": { "author": "verybada", "author_email": "verybada.lin@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# rarbgapi\n\n[![Build Status](https://travis-ci.org/verybada/rarbgapi.png)](https://travis-ci.org/verybada/rarbgapi)\n\n\nThis is a python3 wrapper for RARBG.to.\n\nThe api object will automatically fetch/refresh the token and take care rate control (1 request/2 seconds)\n\n## Quickstart\n\nList new torrents\n\n``` python\n>>> import rarbgapi\n>>> client = rarbgapi.RarbgAPI()\n>>> for torrent in client.list():\n... print(torrent)\n... \n```\n\nThe download link can be found in \n``` python\n>>> torrent.download\n```\n\nGet more torrents, the limit option supports 25, 50, 100 only.\n``` python\n>>> client.list(limit=100):\n```\n\nSearch torrents with specific keyword or imdb, tvdb and themoviedb index via `search_imdb`, `search_tvdb` and `search_themoviedb`\n``` python\n>>> client.search(search_string=\"walking dead\")\n```\n\nor specific category\n``` python\n>>> client.search(search_string=\"walking dead\", category=RarbgAPI.CATEGORY_TV_EPISODES)\n```\n\n## options\nHere are options to configure rarbgapi client\n\n\n| Name | Description | \n| -------- | -------- |\n| retries | Retry how many times once error happen | \n\n``` python\n>>> import rarbgapi\n>>> options = {'retries': 10}\n>>> client = rarbgapi.RarbgAPI(options)\n```\n\n\n### Supported categories\n```\nCATEGORY_ADULT\nCATEGORY_MOVIE_XVID\nCATEGORY_MOVIE_XVID_720P\nCATEGORY_MOVIE_H264\nCATEGORY_MOVIE_H264_1080P\nCATEGORY_MOVIE_H264_720P\nCATEGORY_MOVIE_H264_3D\nCATEGORY_MOVIE_H264_4K\nCATEGORY_MOVIE_H265_4K\nCATEGORY_MOVIE_H265_4K_HDR\nCATEGORY_MOVIE_FULL_BD\nCATEGORY_MOVIE_BD_REMUX\nCATEGORY_TV_EPISODES\nCATEGORY_TV_EPISODES_HD\nCATEGORY_TV_EPISODES_UHD\nCATEGORY_MUSIC_MP3\nCATEGORY_MUSIC_FLAC\nCATEGORY_GAMES_PC_ISO\nCATEGORY_GAMES_PC_RIP\nCATEGORY_GAMES_PS3\nCATEGORY_GAMES_PS4\nCATEGORY_GAMES_XBOX\nCATEGORY_SOFTWARE\nCATEGORY_EBOOK\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/verybada/rarbgapi/", "keywords": "rarbg,rarbg-torrentapi,api,python", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "RarbgAPI", "package_url": "https://pypi.org/project/RarbgAPI/", "platform": "", "project_url": "https://pypi.org/project/RarbgAPI/", "project_urls": { "Homepage": "https://github.com/verybada/rarbgapi/" }, "release_url": "https://pypi.org/project/RarbgAPI/0.3.1/", "requires_dist": [ "requests", "pycodestyle ; extra == 'travis'", "pylint ; extra == 'travis'" ], "requires_python": "", "summary": "A python3 wrapper for RARBG.to", "version": "0.3.1" }, "last_serial": 5374514, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "89c06571492d75b45299991fabd969d6", "sha256": "b63b224c02d3649617ceb010c9c49c874debd289dcc1028dc71e3e7fbe73e3bf" }, "downloads": -1, "filename": "RarbgAPI-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "89c06571492d75b45299991fabd969d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6342, "upload_time": "2019-06-08T05:32:51", "url": "https://files.pythonhosted.org/packages/6c/ee/3cfb2243cfc94ab16d44393638abc7b9480f208cda5e4428de660217ed23/RarbgAPI-0.1.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "14dcecf88eeee3ed500be0f2fd9e5b8d", "sha256": "52dc287703e76ab34b80ec06e16b0af990ba998f9b0085896699e5af2a4eee2d" }, "downloads": -1, "filename": "RarbgAPI-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "14dcecf88eeee3ed500be0f2fd9e5b8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6539, "upload_time": "2019-06-08T05:32:53", "url": "https://files.pythonhosted.org/packages/d8/3d/feb634556bff7adeade38d38bbf938472781ef4deda79fa36041bf37751e/RarbgAPI-0.2-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b92ec91a8d3f7dcf93d2cdbf43f3e5b5", "sha256": "83a87d41c153e28d84a4832a8f943230e76b500664993e319e04ef77b4541139" }, "downloads": -1, "filename": "RarbgAPI-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b92ec91a8d3f7dcf93d2cdbf43f3e5b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7407, "upload_time": "2019-06-08T05:41:03", "url": "https://files.pythonhosted.org/packages/26/73/e090069b0956dc52b92c8d0ca2d36e9cb2d087a57b6e9eb1c51cdc74af60/RarbgAPI-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0854aaa5cd65b382c3cffde35ba94e4b", "sha256": "228585e3c180b7ad3c9141d0d94ed59bafc793f4a72b22446271b98b4b2c9494" }, "downloads": -1, "filename": "RarbgAPI-0.3.1.tar.gz", "has_sig": false, "md5_digest": "0854aaa5cd65b382c3cffde35ba94e4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5356, "upload_time": "2019-06-08T05:41:21", "url": "https://files.pythonhosted.org/packages/6b/77/eac9b0d1fedcf109eba5786de13685ed851607b307056e834325fba2e201/RarbgAPI-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b92ec91a8d3f7dcf93d2cdbf43f3e5b5", "sha256": "83a87d41c153e28d84a4832a8f943230e76b500664993e319e04ef77b4541139" }, "downloads": -1, "filename": "RarbgAPI-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b92ec91a8d3f7dcf93d2cdbf43f3e5b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7407, "upload_time": "2019-06-08T05:41:03", "url": "https://files.pythonhosted.org/packages/26/73/e090069b0956dc52b92c8d0ca2d36e9cb2d087a57b6e9eb1c51cdc74af60/RarbgAPI-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0854aaa5cd65b382c3cffde35ba94e4b", "sha256": "228585e3c180b7ad3c9141d0d94ed59bafc793f4a72b22446271b98b4b2c9494" }, "downloads": -1, "filename": "RarbgAPI-0.3.1.tar.gz", "has_sig": false, "md5_digest": "0854aaa5cd65b382c3cffde35ba94e4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5356, "upload_time": "2019-06-08T05:41:21", "url": "https://files.pythonhosted.org/packages/6b/77/eac9b0d1fedcf109eba5786de13685ed851607b307056e834325fba2e201/RarbgAPI-0.3.1.tar.gz" } ] }