get_omdb_several_items: Get OMDB Several Items

Description Usage Arguments Value Author(s) Examples

View source: R/get_omdb_several_items.R

Description

This function searches OMDB Movies/Series by ID.

Usage

1
2
get_omdb_several_items(omdb_ids, include_gif = TRUE,
  API_KEY = Sys.getenv("API_KEY"))

Arguments

omdb_ids

Vector with the omdb_ids for selected movies/series. All the IDs must be the same type (movie or series).

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

Value

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.

Author(s)

Alberto Almuiña

Examples

1
2
3
4
## Not run: 
get_omdb_several_items(odmb_ids = search_omdb_items('Titanic', include_gif = F) %>% .$imdb_id)

## End(Not run)

ROMDB documentation built on March 26, 2020, 6:27 p.m.