whatismymovie

Python API wrapper for whatismymovie.com


Keywords
whatisthismovie, imdb, api, movie
License
GPL-3.0
Install
pip install whatismymovie==0.1.3

Documentation

py-whatismymovie

PyPI version

Python wrapper for whatismymovie.com API.

This README is a really work in progress.

Getting an API key

API keys are in a Beta Program. Get updated about status and request your key here: http://www.whatismymovie.com/apikey/.

Install

From PyPI (recommended):

$ pip install whatisthismovie

# to update the package just run:
$ pip install whatisthismovie --upgrade

From source (this repo):

$ git clone https://github.com/Pitasi/py-whatismymovie
$ cd py-whatismymovie
$ python3 setup.py install

Usage

import whatismymovie
client = whatismymovie.WhatIsMyMovie('yourkeyhere')

q = client.search('movies about birds')
for movie in q.movies:
  print('{} - {}'.format(movie.title, movie.year))

q.refine('only horror movies')
for movie in q.movies:
  print(movie.title)