Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cinemagoer/cinemagoerng
A redesign of Cinemagoer (experimental).
https://github.com/cinemagoer/cinemagoerng
Last synced: about 2 months ago
JSON representation
A redesign of Cinemagoer (experimental).
- Host: GitHub
- URL: https://github.com/cinemagoer/cinemagoerng
- Owner: cinemagoer
- License: gpl-2.0
- Created: 2023-09-09T15:32:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-14T18:40:31.000Z (5 months ago)
- Last Synced: 2024-11-01T01:34:42.833Z (about 2 months ago)
- Language: Python
- Size: 183 KB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CinemagoerNG
CinemagoerNG (Next Generation) is a Python library and command-line utility
for retrieving data from the IMDb.> [!Note]
> This project and its authors are not affiliated in any way
to Internet Movie Database Inc.
See the [`DISCLAIMER.txt`](https://raw.githubusercontent.com/cinemagoer/cinemagoerng/main/DISCLAIMER.txt)
file for details about terms of use.Usage example (subject to change):
```python
from cinemagoerng import web
movie = web.get_title("tt0133093")
print(movie.title) # "The Matrix"
print(movie.sort_title) # "Matrix"
print(movie.year) # 1999
print(movie.runtime) # 136for genre in movie.genres:
print(genre) # "Action", "Sci-Fi"for credit in movie.directors:
print(credit.name) # "Lana Wachowski", "Lilly Wachowski"print(len(movie.taglines)) # 1
for tagline in movie.taglines:
print(tagline) # "Free your mind"
web.update_title(movie, page="taglines", keys=["taglines"])
print(len(movie.taglines)) # 15web.update_title(movie, page="akas", keys=["akas"])
print(len(movie.akas)) # 50
aka = movie.akas[8]
print(aka.title) # "黑客帝国"
print(aka.country) # "China"
print(aka.language) # "Mandarin"
```