{ "info": { "author": "Elijah Wilson", "author_email": "elijah@elijahwilson.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "Netflix Roulette\n================\n\nThis is a simple python wrapper for the `Netflix Roulette\nAPI `__.\n\n|Build Status| |PyPI version| |Python Versions| |License|\n\nInstallation\n------------\n\nPip\n^^^\n\n- ``pip install netflix_roulette``\n\nFrom Source\n^^^^^^^^^^^\n\n- ``git clone git@github.com:tizz98/netflix_roulette.git``\n- ``cd netflix_roulette``\n- ``python setup.py install``\n\nUsage\n-----\n\nSimple Query\n^^^^^^^^^^^^\n\n.. code:: python\n\n >>> import netflix_roulette\n >>> media = netflix_roulette.NetflixMedia('Attack on titan')\n >>> media\n \n >>> media.show_id\n 70299043\n >>> media.summary\n u'For over a century, people have been living behind barricades to block out the giant Titans that threaten to destroy the human race. When a Titan destroys his hometown, young Eren Yeager becomes determined to fight back.'\n >>> media.is_on_netflix\n True\n >>> media.get_readable_mediatype()\n 'TV Show'\n\nQuery with year\n^^^^^^^^^^^^^^^\n\n.. code:: python\n\n >>> import netflix_roulette\n >>> media = netflix_roulette.NetflixMedia('The Boondocks', year=2005)\n >>> media\n \n >>> media.show_id\n 70153391\n >>> media.summary\n u'Based on the comic strip by Aaron McGruder, this satirical animated series follows the socially conscious misadventures of Huey Freeman, a preternaturally smart 10-year-old who relocates from inner-city Chicago to the suburbs.'\n >>> media.is_on_netflix\n True\n >>> media.get_readable_mediatype()\n 'TV Show'\n\n``class NetflixMedia``\n----------------------\n\nParameters\n^^^^^^^^^^\n\n- ``title``: Title of the media you are searching for.\n- ``year``: (Optional) Year of the media you are searching for.\n\nAttributes\n^^^^^^^^^^\n\n- ``title``: User supplied title of the media you are searching for.\n- ``year``: User supplied year of the media you are searching for.\n- ``rating``: How high the media is rated, max is 5.\n- ``poster``: The poster for the media, right from the Netflix CDN.\n- ``mediatype``: 0 means movie, 1 means TV Show. See also\n ``get_readable_mediatype()``.\n- ``release_year``: The media's release date.\n- ``show_cast``: The cast of a given title.\n- ``category``: A title's given category.\n- ``summary``: A plot summary.\n- ``director``: The name(s) of the director(s) of a given title.\n- ``show_id``: The Netflix id of the title.\n- ``is_on_netflix``: A boolean, whether or not the show is on Netflix.\n\nMethods\n^^^^^^^\n\n- ``get_readable_mediatype()``: Returns ``TV Show`` or ``Movie``\n instead of ``1`` or ``0``.\n- ``is_movie()``: Returns ``True`` if the media is a Movie.\n- ``is_tv_show()``: Returns ``True`` if the media is a TV Show.\n\n``class NetflixDirector``\n-------------------------\n\nParameters\n^^^^^^^^^^\n\n- ``name``: Name of the director you are searching for.\n\nAttributes\n^^^^^^^^^^\n\n- ``name``: User supplied name.\n- ``media``: List of ``NetflixMedia`` that the person has directed.\n\n``class NetflixActor``\n----------------------\n\nParameters\n^^^^^^^^^^\n\n- ``name``: Name of the actor you are searching for.\n\nAttributes\n^^^^^^^^^^\n\n- ``name``: User supplied name.\n- ``media``: List of ``NetflixMedia`` that the person has been in.\n\n.. |Build Status| image:: https://travis-ci.org/tizz98/netflix_roulette.svg?branch=master\n :target: https://travis-ci.org/tizz98/netflix_roulette\n.. |PyPI version| image:: https://img.shields.io/pypi/v/netflix_roulette.svg\n :target: https://pypi.python.org/pypi/netflix_roulette\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/netflix_roulette.svg\n :target: https://pypi.python.org/pypi/netflix_roulette\n.. |License| image:: https://img.shields.io/pypi/l/netflix_roulette.svg\n :target: https://github.com/tizz98/netflix_roulette/blob/master/LICENSE.md", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/tizz98/netflix_roulette/tarball/0.23", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tizz98/netflix_roulette", "keywords": "netflix roulette netflixroulette netflix_roulette api", "license": "GNU General Public License v3.0", "maintainer": null, "maintainer_email": null, "name": "netflix_roulette", "package_url": "https://pypi.org/project/netflix_roulette/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/netflix_roulette/", "project_urls": { "Download": "https://github.com/tizz98/netflix_roulette/tarball/0.23", "Homepage": "https://github.com/tizz98/netflix_roulette" }, "release_url": "https://pypi.org/project/netflix_roulette/0.23/", "requires_dist": null, "requires_python": null, "summary": "A simple python wrapper for the Netflix Roulette API", "version": "0.23" }, "last_serial": 1878191, "releases": { "0.13": [ { "comment_text": "", "digests": { "md5": "662c1f46e334d39dba4d44dd6370ceb9", "sha256": "fb816cf199a8f1f1389bb423187fa90a5921e75d22e75f9ee904dabe91b0e285" }, "downloads": -1, "filename": "netflix_roulette-0.13.tar.gz", "has_sig": false, "md5_digest": "662c1f46e334d39dba4d44dd6370ceb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15251, "upload_time": "2015-12-20T03:32:16", "url": "https://files.pythonhosted.org/packages/b4/b0/d9ad3d6d862806cda1881e416090802be1445c33e354e41546b747f10a99/netflix_roulette-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "30fe40f8b5fc1a1f9f216357c8630723", "sha256": "1e4da249c210e65816459e768caf5d83f4adef1056a4294c6fc4e636b4d6485d" }, "downloads": -1, "filename": "netflix_roulette-0.14.tar.gz", "has_sig": false, "md5_digest": "30fe40f8b5fc1a1f9f216357c8630723", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15108, "upload_time": "2015-12-21T19:40:06", "url": "https://files.pythonhosted.org/packages/78/c2/5b60241e02f94d2bff7cc749b84213d453ef578a8240e74b0fa582e4cfd7/netflix_roulette-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "818835bf6cb1ca995d91f18384819ddd", "sha256": "c1d2dcb58de343d3af88b92410d3cf75bfc2b12a73f53b2f9627a08c9fa6cb5b" }, "downloads": -1, "filename": "netflix_roulette-0.15.tar.gz", "has_sig": false, "md5_digest": "818835bf6cb1ca995d91f18384819ddd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15442, "upload_time": "2015-12-21T20:26:29", "url": "https://files.pythonhosted.org/packages/07/3f/a0522cf845fa449dbbe7e27b566db3b77a7b4908cf298e348cd42a54a9cc/netflix_roulette-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "3b4fa6b69be1535ae4dd3b218f9809c1", "sha256": "5e40cfb5d5df7fca2c7bd0e4755a050d803c3407c74d8e424b80930636cdd876" }, "downloads": -1, "filename": "netflix_roulette-0.16.tar.gz", "has_sig": false, "md5_digest": "3b4fa6b69be1535ae4dd3b218f9809c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16419, "upload_time": "2015-12-23T01:02:12", "url": "https://files.pythonhosted.org/packages/d6/2d/ba5a7e461489fe6021ff6e549417ce32cc35585c72cbdf7d733f02a41e81/netflix_roulette-0.16.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0eb35f71b70e545da75c3da2ec5d5ff3", "sha256": "efc033abc6e80c5a6dfa774cb7ab958ad7086d6d44a6a8306728a4d2db60cab0" }, "downloads": -1, "filename": "netflix_roulette-0.2.tar.gz", "has_sig": false, "md5_digest": "0eb35f71b70e545da75c3da2ec5d5ff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16952, "upload_time": "2015-12-24T16:41:22", "url": "https://files.pythonhosted.org/packages/ba/9c/b3dc3c8f39786ef22fde63b3c001dcdaee1dd2670a733bc34161982e5688/netflix_roulette-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4885a990cab0a38bb10496e345dcab0d", "sha256": "9c34ada26753ab93e4822a2b0662a01ae2e89285c1280fcdb3bb2e8e548326c8" }, "downloads": -1, "filename": "netflix_roulette-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4885a990cab0a38bb10496e345dcab0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16967, "upload_time": "2015-12-26T13:32:17", "url": "https://files.pythonhosted.org/packages/b5/41/c7df388b8c963a84a85f8e5d9d17d3784741f1050e881068a114f0214946/netflix_roulette-0.2.1.tar.gz" } ], "0.22": [ { "comment_text": "", "digests": { "md5": "9465aebe702cd211b85cbc5c8b8609d6", "sha256": "9c3b164d8104997b62b243555254bc778b8b7d6f89d4e8601b12f149ad357260" }, "downloads": -1, "filename": "netflix_roulette-0.22.tar.gz", "has_sig": false, "md5_digest": "9465aebe702cd211b85cbc5c8b8609d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16961, "upload_time": "2015-12-26T13:55:25", "url": "https://files.pythonhosted.org/packages/4c/36/8364ae7069563c05240f64a97535762677d45672c81f737d8df548622455/netflix_roulette-0.22.tar.gz" } ], "0.23": [ { "comment_text": "", "digests": { "md5": "61134a1f7c7fa7324ab49b556d8e434a", "sha256": "21a8e3fc95684afd78ca65197909810006666d351681d2e3ba7f9d078718f60b" }, "downloads": -1, "filename": "netflix_roulette-0.23.tar.gz", "has_sig": false, "md5_digest": "61134a1f7c7fa7324ab49b556d8e434a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17020, "upload_time": "2015-12-26T17:49:20", "url": "https://files.pythonhosted.org/packages/6a/4c/43e561d31eca910be627703e8f3beee05ce2e6d4e199345dacbb1c3e0421/netflix_roulette-0.23.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61134a1f7c7fa7324ab49b556d8e434a", "sha256": "21a8e3fc95684afd78ca65197909810006666d351681d2e3ba7f9d078718f60b" }, "downloads": -1, "filename": "netflix_roulette-0.23.tar.gz", "has_sig": false, "md5_digest": "61134a1f7c7fa7324ab49b556d8e434a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17020, "upload_time": "2015-12-26T17:49:20", "url": "https://files.pythonhosted.org/packages/6a/4c/43e561d31eca910be627703e8f3beee05ce2e6d4e199345dacbb1c3e0421/netflix_roulette-0.23.tar.gz" } ] }