The Open Movie Database API omdb
Python wrapper around The Open Movie Database API (a.k.a. OMDb API): http://omdbapi.com/
NOTE: This library and its author are not endorsed by or affiliated with OMDbAPI.com.
Usage
General Import import omdb
omdb.get() # include full plot and Rotten Tomatoes data omdb . get ( title = 'True Grit' , year = 1969 , fullplot = True , tomatoes = True )
omdb.search() # search by string omdb . search ( 'True Grit' )
omdb.imdbid() # get by IMDB id omdb . imdbid ( 'tt0065126' )
omdb.title() # get by title omdb . title ( 'True Grit' )
omdb.set_default() # include tomatoes data by default omdb . set_default ( 'tomatoes' , True ) omdb . title ( 'True Grit' ) == omdb . title ( 'True Grit' , tomatoes = True )
NOTE: This library and its author are not endorsed by or affiliated with OMDbAPI.com.
Usage
General Import import omdb
omdb.get() # include full plot and Rotten Tomatoes data omdb . get ( title = 'True Grit' , year = 1969 , fullplot = True , tomatoes = True )
omdb.search() # search by string omdb . search ( 'True Grit' )
omdb.imdbid() # get by IMDB id omdb . imdbid ( 'tt0065126' )
omdb.title() # get by title omdb . title ( 'True Grit' )
omdb.set_default() # include tomatoes data by default omdb . set_default ( 'tomatoes' , True ) omdb . title ( 'True Grit' ) == omdb . title ( 'True Grit' , tomatoes = True )
Comentarios
Publicar un comentario