{ "info": { "author": "Nicholas Molloy", "author_email": "nick.a.molloy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Multimedia", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": ".. image:: https://travis-ci.org/NickMolloy/rt_api.svg?branch=master\n :target: https://travis-ci.org/NickMolloy/rt_api\n\n.. image:: https://readthedocs.org/projects/rt-api/badge/?version=latest\n :target: http://rt-api.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://badge.fury.io/py/rt-api.svg\n :target: https://badge.fury.io/py/rt-api\n\n======\nrt_api\n======\n\nrt_api is a python client for the Rooster Teeth Api. It allows easy access to resources such as episodes, seasons, shows, and users.\n\nIt supports Python 2.7, 3.4-3.7, as well as PyPy.\n\n\n.. _installation-guide:\n\nInstallation\n------------\n\nTo install `rt_api`, run:\n\n.. code::\n\n pip install rt_api\n\nAlternatively rt_api can be installed from source by cloning the repository\nand running setuptools:\n\n.. code::\n\n git clone https://github.com/NickMolloy/rt_api\n cd rt_api\n python setup.py install\n\n\n\nUsing `rt_api`\n---------------\n\nThe main entry point for the library is the `Api` class.\nInstantiating this class will give access to all of the API functionality.\nFor example:\n\n.. code-block:: python\n\n from rt_api.api import Api\n\n api = Api() # Instantiate api. Generates default access token.\n latest_episodes = api.episodes() # Get an iterable of the latest episodes\n newest_episode = next(latest_episodes)\n print(newest_episode.title) # Print out episode title\n show = newest_episode.show # Get a reference to the show the episode is from\n print(show.name) # Print out name of the show\n\nIf you want to be able to perform actions as a specific user, you must first\nauthenticate:\n\n.. code-block:: python\n\n from rt_api.api import Api\n\n api = Api()\n api.authenticate(\"myUsername\", \"myPassword\") # Authenticate as myUsername\n\nFrom this point, all actions performed will be done in the context of that user.\nFor instance, the current user is available through the ``me`` attribute of the api:\n\n.. code-block:: python\n\n my_user = api.me # Get the user object associated with the authenticated user\n my_user.queue # Get the current user's episode watch list\n\n\nFor more information on the available actions, see the\n`package documentation `_,\nor some `examples `_.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NickMolloy/rt_api", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "rt-api", "package_url": "https://pypi.org/project/rt-api/", "platform": "", "project_url": "https://pypi.org/project/rt-api/", "project_urls": { "Homepage": "https://github.com/NickMolloy/rt_api" }, "release_url": "https://pypi.org/project/rt-api/1.1.1/", "requires_dist": [ "m3u8 (>=0.3.1)", "requests-oauthlib (>=0.7.0)", "requests (>=2.12.5)" ], "requires_python": "", "summary": "Unofficial python client for the Rooster Teeth api", "version": "1.1.1" }, "last_serial": 4061423, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "297579fb374ca14bd006c52db61438ff", "sha256": "41afb4debae490446fe729c62cc95091e11a5926f25f8ea280696f8a0c820039" }, "downloads": -1, "filename": "rt_api-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "297579fb374ca14bd006c52db61438ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14181, "upload_time": "2017-02-21T01:34:11", "url": "https://files.pythonhosted.org/packages/90/30/e2145992df420b8b7c4ce83ab38bebe3a0b69e4ea4baddfaaf14ee1ffb9c/rt_api-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8e578c567456154c3034681d26fae66", "sha256": "d69e8996a07a18dc4c42b3a7981ae89af3676b91354d022ea9d973e11fd44957" }, "downloads": -1, "filename": "rt_api-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e8e578c567456154c3034681d26fae66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12728, "upload_time": "2017-02-21T01:34:13", "url": "https://files.pythonhosted.org/packages/68/5e/a3b467620e2ab543d5e717287f6d3a35bddc2289258febcb3623dc4de69c/rt_api-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4ca998eba4e1fd22da1c59c766c8b1bb", "sha256": "5cb9b284a6c3c38964537e2d8ab7aad5a18278e1f60690fb5fc1924177d0d575" }, "downloads": -1, "filename": "rt_api-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4ca998eba4e1fd22da1c59c766c8b1bb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14657, "upload_time": "2017-03-18T03:38:16", "url": "https://files.pythonhosted.org/packages/90/3d/f6aef7ea5c7a636ca15dc34172524f116f442eb98e8146df580d8c3b8d98/rt_api-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f2b2e55e20954d49e8667779c5f6451", "sha256": "3f9aad73d8793eacdaf658dea5122ac70385711493b3083221841e87bfb47549" }, "downloads": -1, "filename": "rt_api-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3f2b2e55e20954d49e8667779c5f6451", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13000, "upload_time": "2017-03-18T03:38:18", "url": "https://files.pythonhosted.org/packages/fc/c2/6e20eb26ac5ab10cab0f9ac052f307fcbcc84ed2c8b70cdf4644a7b10063/rt_api-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "63f8aa4f1a245370b0a6d109c6e38d6e", "sha256": "1b5e8f750ab85d8ea59ac07be5fc74177894e81ccf92524a1bee4b8cd6fa5762" }, "downloads": -1, "filename": "rt_api-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "63f8aa4f1a245370b0a6d109c6e38d6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14144, "upload_time": "2018-06-13T09:00:24", "url": "https://files.pythonhosted.org/packages/01/30/d976444e080aa3889df4b2b4b544669c6a73d72a125bff0686370c7bdebb/rt_api-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74df6d5f842d27a4a1da7db4bced838b", "sha256": "200f64ac2727bc91e5f437457538afb202c817bb56e4d0cec8ac871dc95dd84f" }, "downloads": -1, "filename": "rt_api-1.1.0.tar.gz", "has_sig": false, "md5_digest": "74df6d5f842d27a4a1da7db4bced838b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13124, "upload_time": "2018-06-13T09:00:26", "url": "https://files.pythonhosted.org/packages/d2/49/3c03156d457c28946ef637f44f0ee5b346c19fac781bebc46824d3615be8/rt_api-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "bf01e945e00e268d3774b6d0ea3d080a", "sha256": "5e44400f66c6f08f885b4360f786c92361c86eb96573852f3d2c0821f99375b3" }, "downloads": -1, "filename": "rt_api-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf01e945e00e268d3774b6d0ea3d080a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14365, "upload_time": "2018-07-14T15:47:02", "url": "https://files.pythonhosted.org/packages/17/ea/9aab59a8372de6045d03d872f26b6f4e145ec43dbd993980c4f672e18010/rt_api-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76927a8c655bb9a2d4d5764001128c75", "sha256": "2b845922bcd8c7da770ff2f5b43c81ba975818dcf5cd1319064c74d90f986df3" }, "downloads": -1, "filename": "rt_api-1.1.1.tar.gz", "has_sig": false, "md5_digest": "76927a8c655bb9a2d4d5764001128c75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14840, "upload_time": "2018-07-14T15:47:03", "url": "https://files.pythonhosted.org/packages/04/dd/3846a54e08064d3a305883a09e36973ab3de055788c8d33db18f7e44bfae/rt_api-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf01e945e00e268d3774b6d0ea3d080a", "sha256": "5e44400f66c6f08f885b4360f786c92361c86eb96573852f3d2c0821f99375b3" }, "downloads": -1, "filename": "rt_api-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf01e945e00e268d3774b6d0ea3d080a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14365, "upload_time": "2018-07-14T15:47:02", "url": "https://files.pythonhosted.org/packages/17/ea/9aab59a8372de6045d03d872f26b6f4e145ec43dbd993980c4f672e18010/rt_api-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76927a8c655bb9a2d4d5764001128c75", "sha256": "2b845922bcd8c7da770ff2f5b43c81ba975818dcf5cd1319064c74d90f986df3" }, "downloads": -1, "filename": "rt_api-1.1.1.tar.gz", "has_sig": false, "md5_digest": "76927a8c655bb9a2d4d5764001128c75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14840, "upload_time": "2018-07-14T15:47:03", "url": "https://files.pythonhosted.org/packages/04/dd/3846a54e08064d3a305883a09e36973ab3de055788c8d33db18f7e44bfae/rt_api-1.1.1.tar.gz" } ] }