Skip to content

willywongi/themoviedb

 
 

Repository files navigation

#TODO: Add redis and memcached support

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()

About

Python wrapper to themoviedb.org API

Resources

Stars

Watchers

Forks

Packages

No packages published