Description Usage Arguments Value Author(s) Examples
View source: R/search_omdb_items.R
This function searches OMDB Api Items (movies or series) by name, type and year.
1 2 | search_omdb_items(movie, type = "movie", year = NULL, page = 1,
include_gif = TRUE, API_KEY = Sys.getenv("API_KEY"))
|
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... |
include_gif |
If TRUE, the result includes a gif of the movies/series. Default: TRUE. |
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 |
If include_gif is TRUE, returns a list with a tibble with the movie information and a gif of the films. If include_image is FALSE, only returns the tibble.
Alberto Almuiña
1 2 3 4 | ## Not run:
search_omdb_items('Titanic')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.