get_omdb_item {ROMDB} | R Documentation |
Get OMDB Item
Description
This function searches OMDB Movies/Series by ID.
Usage
get_omdb_item(omdb_id, include_image = TRUE,
API_KEY = Sys.getenv("API_KEY"))
Arguments
omdb_id |
String with the omdb_id for a movie/series. |
include_image |
If TRUE, the result includes an image of the movie/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 |
Value
If include_image is TRUE, returns a list with a tibble with the movie information and a image of the film. If include_image is FALSE, only returns the tibble.
Author(s)
Alberto AlmuiƱa
Examples
## Not run:
get_omdb_item('tt0120338')
## End(Not run)
[Package ROMDB version 0.1.0 Index]