PyPI Version License Documentation Status

imdby

imdby is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, person, characters, companies, events and news.

Source Link
PyPI: https://pypi.org/project/imdby/
Repository: https://github.com/santhoshse7en/imdby/
Documentation: https://santhoshse7en.github.io/imdby_doc/

Main features

Dependencies

Installation

Whenever possible, please use the latest version from the repository:

pip install git+https://github.com/santhoshse7en/imdb

But if you want, you can also install the latest release from PyPI:

pip install imdby

A Glance

Download it by clicking the green download button here on Github. Here’s an example that demonstrates how to use imdby:

# create an instance of the IMDb class
from imdb.imdb import IMDb

ia = IMDb()

# get a movie
cast = ia.full_cast_and_crew('tt4154796')

# print the names of the directors of the movie
print('Directors:')
for director in cast.directors:
    print(director)

# search for a person name
people = ia.search_person('Simon Baker')
print(people.person_id, people.person_name)

Getting help

Please refer to the the online documentation on Read The Docs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT