search_omdb_gif {ROMDB} | R Documentation |
Search OMDB Gif
Description
This function searches OMDB Api Items (movies or series) by name, type and year.
Usage
search_omdb_gif(movie, type = "movie", year = NULL, page = 1,
API_KEY = Sys.getenv("API_KEY"))
Arguments
movie |
String of movie/series name |
type |
Default: 'movie'. Valid options are 'movie' or 'series'. |
year |
Optional. Year of release. |
page |
The number of results returned. 1: 10 results, 2: 20 results... |
API_KEY |
OMBD Api Key. Default: Get the Api Key from system environment. Use Sys.setenv('API_KEY' = 'XXXXX'). More information in: http://www.omdbapi.com/apikey.aspx |
Value
Returns a gif of the movies searched (an image if only one result is returned)
Author(s)
Alberto AlmuiƱa
Examples
## Not run:
search_omdb_gif('Titanic')
## End(Not run)
[Package ROMDB version 0.1.0 Index]