netflix
A Python client for Netflix.
Installation
pip install netflix
Documentation
Netflix ID
- Movie: The Intern
- URL:
https://www.netflix.com/watch/80047616 - Netflix ID:
80047616
Movie
from netflix import Movie
movie = Movie("80047616")
print(movie.name) # 'The Intern'
Attributes
name:'The Intern'genre:'Comedies'description:'Harried fashion entrepreneur Jules gets a surprise boost from Ben, a 70-year-old widower who answers an ad seeking a senior intern.'image_url:'https://occ-0-2774-2773.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABW8TwHJmfYqEjUj0YK4Y2ugq-sKIN-Gi8OBaDjOh3SbRSBdbEXlmpWEpHTbrO2CLDdo7yxRl7MTm5YtYa1-71Kg1o-7o.jpg?r=2ce'metadata
TVShow
from netflix import TVShow
tv_show = TVShow("80192098")
print(tv_show.name) # 'Money Heist'
Attributes
name:'Money Heist'genre:'TV Thrillers'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.'image_url:'https://occ-0-2774-2773.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABRQ7vD9Tg2GJUxLlWRw85C9Ln3j_m3dMvVhpf-LAJLDg9JNVsQKRyqvwlH28uoYY_gW7ROp1CI1PYdkBIlJwxpB8_VzK.jpg?r=8f1'metadata
Extra
Fetch Instantly
Default is True
from netflix import Movie
movie = Movie("80047616", fetch_instantly=False)
# Do something.
movie.fetch()
Metadata
from netflix import Movie
movie = Movie("80047616")
print(movie.metadata)
"""
{
'@context': 'http://schema.org',
'@type': 'Movie',
'url': 'https://www.netflix.com/tr-en/title/80047616',
'contentRating': '16+',
'name': 'The Intern',
'description': 'Harried fashion entrepreneur Jules gets a surprise boost from Ben, a 70-year-old widower who answers an ad seeking a senior intern.',
'genre': 'Comedies',
'image': 'https://occ-0-2773-2774.1.nflxso.net/dnm/api/v6/6AYY37jfdO6hpXcMjf9Yu5cnmO0/AAAABW8TwHJmfYqEjUj0YK4Y2ugq-sKIN-Gi8OBaDjOh3SbRSBdbEXlmpWEpHTbrO2CLDdo7yxRl7MTm5YtYa1-71Kg1o-7o.jpg?r=2ce',
'dateCreated': '2019-8-31',
'actors': [{
'@type': 'Person',
'name': 'Robert De Niro'
}, {
'@type': 'Person',
'name': 'Anne Hathaway'
}, {
'@type': 'Person',
'name': 'Rene Russo'
}, {
'@type': 'Person',
'name': 'Anders Holm'
}, {
'@type': 'Person',
'name': 'JoJo Kushner'
}, {
'@type': 'Person',
'name': 'Andrew Rannells'
}, {
'@type': 'Person',
'name': 'Adam Devine'
}, {
'@type': 'Person',
'name': 'Zack Pearlman'
}, {
'@type': 'Person',
'name': 'Jason Orley'
}, {
'@type': 'Person',
'name': 'Christina Scherer'
}],
'creator': [],
'director': [{
'@type': 'Person',
'name': 'Nancy Meyers'
}]
}
"""
Metadata
Release files for netflix 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netflix-0.1.1.tar.gz | 4.3 kB | Without provenance | Details for netflix-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netflix-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for netflix-0.1.1-py2.py3-none-any.whl |
Total release size: 9.3 kB
Release files / netflix-0.1.1.tar.gz
| Download URL | netflix-0.1.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a5fdb066c467c1b507f47c3bfd0437a13bae4b1204b65b978cf15853eddac7e
|
|
BLAKE2b-256 checksum How to use checksums |
555e849c891a3898e4de00cb9407a99a141d704dacd2a247997095ccb38bfa60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/2.7.16 Darwin/19.6.0
|
Release files / netflix-0.1.1-py2.py3-none-any.whl
| Download URL | netflix-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dbc6e76af1ebbb2fe2b373354388dea973a6572689962cecffcac2bf38da9b2b
|
|
BLAKE2b-256 checksum How to use checksums |
0388e4f42210f7289ffc7258f44238f3d0b0754df0f6170682a1cd42ede3ff89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/2.7.16 Darwin/19.6.0
|
Security for netflix 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.