How To Get On Imdb
Cinemagoer (previously known equally IMDbPY) is a Python package for retrieving and managing the information of the IMDb moving-picture show database about movies, people and companies.
This project and its authors are not affiliated in any way to Internet Movie Database Inc.; see the DISCLAIMER.txt file for details nearly information licenses.
Revamp detect
Starting on November 2017, many things were improved and simplified:
- moved the package to Python 3 (uniform with Python 2.vii)
- removed dependencies: SQLObject, C compiler, BeautifulSoup
- removed the "mobile" and "httpThin" parsers
- introduced a test suite (please assistance with information technology!)
Master features
- written in Python 3 (uniform with Python 2.seven)
- platform-independent
- simple and consummate API
- released nether the terms of the GPL 2 license
Cinemagoer powers many other software and has been used in diverse enquiry papers. Curious nearly that?
Installation
Whenever possible, delight use the latest version from the repository:
pip install git+https://github.com/cinemagoer/cinemagoer
But if you lot want, y'all can also install the latest release from PyPI:
pip install cinemagoer
Example
Hither'south an example that demonstrates how to use Cinemagoer:
from imdb import Cinemagoer # create an instance of the Cinemagoer class ia = Cinemagoer() # go a movie movie = ia.get_movie('0133093') # print the names of the directors of the motion picture print('Directors:') for director in movie['directors']: impress(manager['name']) # print the genres of the picture show print('Genres:') for genre in moving picture['genres']: print(genre) # search for a person name people = ia.search_person('Mel Gibson') for person in people: print(person.personID, person['name'])
Getting assist
Please refer to the support folio on the project homepage and to the the online documentation on Read The Docs.
The sources are bachelor on GitHub.
License
Copyright (C) 2004-2022 Davide Alberani <da --> mimante.net> et al.
Cinemagoer is released under the GPL license, version 2 or later. Read the included LICENSE.txt file for details.
NOTE: For a list of persons who share the copyright over specific portions of code, come across the CONTRIBUTORS.txt file.
NOTE: See also the recommendations in the DISCLAIMER.txt file.
Source: https://github.com/alberanid/imdbpy
Posted by: hultgrenfelist.blogspot.com
0 Response to "How To Get On Imdb"
Post a Comment