get_omdb_item: Get OMDB Item

Description Usage Arguments Value Author(s) Examples

View source: R/get_omdb_item.R

Description

This function searches OMDB Movies/Series by ID.

Usage

1
2
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

1
2
3
4
## Not run: 
get_omdb_item('tt0120338')

## End(Not run)

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

Related to get_omdb_item in ROMDB...