get_omdb_item_genres {ROMDB}R Documentation

Get OMDB Item Genres

Description

This function returns a vector with the genres returned by the api (separated by commas).

Usage

get_omdb_item_genres(omdb_id, API_KEY = Sys.getenv("API_KEY"))

Arguments

omdb_id

String with the omdb_id for a movie/series.

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

Return a vector with the genres of a movie/series.

Author(s)

Alberto AlmuiƱa

Examples

## Not run: 
get_omdb_item_genres(omdb_id = 'tt0120338')

## End(Not run)

[Package ROMDB version 0.1.0 Index]