Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ff30b1a4af
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (62 sloc) 1.407 kb
install : python setup.py install
or
easy_install themoviedb
Usage:
import tmdb
movie = tmdb.search("Fight Club")
#movie[0].keys()
movie[0]["rating"]
or
movie = tmdb.tmdb("Fight Club")
rating = movie.getRating()
language = movie.getLanguage()
imdb lookup:
import tmdb
imdb_movie = tmdb.imdb(title="Fight Club") # title = "Fight Club" or id=tt30330 ->imdb_idb
rating = imdb_movie.getRating()
runtime = imdb_movie.getRuntime()
tmdb.tmdb methods:
> getRating()
> getVotes()
> getName()
> getLanguage()
> getCertification()
> getUrl()
> getOverview()
> getPopularity()
> getOriginalName()
> getLastModified()
> getImdbId()
> getReleased()
> getScore()
> getAdult()
> getVersion()
> getTranslated()
> getType()
> getId()
> getAlternativeName()
> getPoster()
> getBackdrop()
tmdb.imdb methods
> getRuntime()
> getCategories()
> getRating()
> getVotes()
> getName()
> getLanguage()
> getCertification()
> getUrl()
> getOverview()
> getPopularity()
> getOriginalName()
> getLastModified()
> getImdbId()
> getReleased()
> getAdult()
> getVersion()
> getTranslated()
> getType()
> getId()
> getAlternativeName()
> getPoster()
> getBackdrop()
Jump to Line
Something went wrong with that request. Please try again.