{ "info": { "author": "Efe \u00d6ge", "author_email": "efeoge@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# netflix\n\n[![Build Status](https://travis-ci.org/efe/netflix.svg?branch=master)](https://travis-ci.org/efe/netflix) [![pypi](https://img.shields.io/pypi/v/netflix.svg)](https://pypi.org/project/netflix/)\n\nA Python client for Netflix.\n\n## Installation\n\n```\npip install netflix\n```\n\n## Documentation\n\n### Netflix ID\n\n- **Movie**: The Intern\n- **URL**: `https://www.netflix.com/watch/80047616`\n- **Netflix ID**: `80047616`\n\n### Movie\n\n```python\nfrom netflix import Movie\n\nmovie = Movie(\"80047616\")\nprint(movie.name) # 'The Intern'\n```\n\n#### Attributes\n\n- `name`: `'The Intern'`\n- `genre`: `'Comedies'`\n- `description`: `'Harried fashion entrepreneur Jules gets a surprise boost from Ben, a 70-year-old widower who answers an ad seeking a senior intern.'`\n- `image_url`: `'https://occ-0-2774-2773.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABW8TwHJmfYqEjUj0YK4Y2ugq-sKIN-Gi8OBaDjOh3SbRSBdbEXlmpWEpHTbrO2CLDdo7yxRl7MTm5YtYa1-71Kg1o-7o.jpg?r=2ce'`\n- `metadata`\n\n### TVShow\n\n```python\nfrom netflix import TVShow\n\ntv_show = TVShow(\"80192098\")\nprint(tv_show.name) # 'Money Heist'\n```\n\n#### Attributes\n\n- `name`: `'Money Heist'`\n- `genre`: `'TV Thrillers'`\n- `description`: `'Eight thieves take hostages and lock themselves in the Royal Mint of Spain as a criminal mastermind manipulates the police to carry out his plan.'`\n- `image_url`: `'https://occ-0-2774-2773.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABRQ7vD9Tg2GJUxLlWRw85C9Ln3j_m3dMvVhpf-LAJLDg9JNVsQKRyqvwlH28uoYY_gW7ROp1CI1PYdkBIlJwxpB8_VzK.jpg?r=8f1'`\n- `metadata`\n\n### Extra\n\n#### Fetch Instantly\n\nDefault is `True`\n\n```python\nfrom netflix import Movie\n\nmovie = Movie(\"80047616\", fetch_instantly=False)\n\n# Do something.\n\nmovie.fetch()\n```\n\n#### Metadata\n\n```python\nfrom netflix import Movie\n\nmovie = Movie(\"80047616\")\n\nprint(movie.metadata)\n\"\"\"\n{\n '@context': 'http://schema.org',\n '@type': 'Movie',\n 'url': 'https://www.netflix.com/tr-en/title/80047616',\n 'contentRating': '16+',\n 'name': 'The Intern',\n 'description': 'Harried fashion entrepreneur Jules gets a surprise boost from Ben, a 70-year-old widower who answers an ad seeking a senior intern.',\n 'genre': 'Comedies',\n 'image': 'https://occ-0-2773-2774.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABW8TwHJmfYqEjUj0YK4Y2ugq-sKIN-Gi8OBaDjOh3SbRSBdbEXlmpWEpHTbrO2CLDdo7yxRl7MTm5YtYa1-71Kg1o-7o.jpg?r=2ce',\n 'dateCreated': '2019-8-31',\n 'actors': [{\n '@type': 'Person',\n 'name': 'Robert De Niro'\n }, {\n '@type': 'Person',\n 'name': 'Anne Hathaway'\n }, {\n '@type': 'Person',\n 'name': 'Rene Russo'\n }, {\n '@type': 'Person',\n 'name': 'Anders Holm'\n }, {\n '@type': 'Person',\n 'name': 'JoJo Kushner'\n }, {\n '@type': 'Person',\n 'name': 'Andrew Rannells'\n }, {\n '@type': 'Person',\n 'name': 'Adam Devine'\n }, {\n '@type': 'Person',\n 'name': 'Zack Pearlman'\n }, {\n '@type': 'Person',\n 'name': 'Jason Orley'\n }, {\n '@type': 'Person',\n 'name': 'Christina Scherer'\n }],\n 'creator': [],\n 'director': [{\n '@type': 'Person',\n 'name': 'Nancy Meyers'\n }]\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/efe/netflix", "keywords": "python,netflix,movie,tv-show", "license": "Apache-2.0", "maintainer": "Efe \u00d6ge", "maintainer_email": "efeoge@gmail.com", "name": "netflix", "package_url": "https://pypi.org/project/netflix/", "platform": "", "project_url": "https://pypi.org/project/netflix/", "project_urls": { "Homepage": "https://github.com/efe/netflix", "Repository": "https://github.com/efe/netflix" }, "release_url": "https://pypi.org/project/netflix/0.1.0/", "requires_dist": [ "requests (>=2.0)", "beautifulsoup4 (>=4.0)" ], "requires_python": ">=2.7", "summary": "A Python client for Netflix.", "version": "0.1.0" }, "last_serial": 5956512, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6533df33ececf2b7bc3bd9c0ae9235b0", "sha256": "c097a115aa46a8ea008ab4329e49c2d241931de102d74b90639a78ea269f4c0e" }, "downloads": -1, "filename": "netflix-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6533df33ececf2b7bc3bd9c0ae9235b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 4967, "upload_time": "2019-10-10T19:19:41", "url": "https://files.pythonhosted.org/packages/10/8e/97eb325ed59c83a3280c55229aab3df2731bd494d6e94b1b1d1a24766ca9/netflix-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4bf3042598de4f7bfe960b8fd62248eb", "sha256": "9966c6e8c00acba9af7b14d79b512af445d36bca7e5c51957f0d2ee0d966ad60" }, "downloads": -1, "filename": "netflix-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4bf3042598de4f7bfe960b8fd62248eb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4287, "upload_time": "2019-10-10T19:19:43", "url": "https://files.pythonhosted.org/packages/ef/fc/7e2489e8f1b416502b61fac83b9fadf7dc8191d77fd2069ae60af54c4588/netflix-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6533df33ececf2b7bc3bd9c0ae9235b0", "sha256": "c097a115aa46a8ea008ab4329e49c2d241931de102d74b90639a78ea269f4c0e" }, "downloads": -1, "filename": "netflix-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6533df33ececf2b7bc3bd9c0ae9235b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 4967, "upload_time": "2019-10-10T19:19:41", "url": "https://files.pythonhosted.org/packages/10/8e/97eb325ed59c83a3280c55229aab3df2731bd494d6e94b1b1d1a24766ca9/netflix-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4bf3042598de4f7bfe960b8fd62248eb", "sha256": "9966c6e8c00acba9af7b14d79b512af445d36bca7e5c51957f0d2ee0d966ad60" }, "downloads": -1, "filename": "netflix-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4bf3042598de4f7bfe960b8fd62248eb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 4287, "upload_time": "2019-10-10T19:19:43", "url": "https://files.pythonhosted.org/packages/ef/fc/7e2489e8f1b416502b61fac83b9fadf7dc8191d77fd2069ae60af54c4588/netflix-0.1.0.tar.gz" } ] }