ROMDB (version 0.1.0)

get_omdb_item: 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.

Examples

Run this code
# NOT RUN {
get_omdb_item('tt0120338')
# }

Run the code above in your browser using DataLab