omdb_api_key {imdbapi}R Documentation

Get or set OMDB_API_KEY value

Description

The API wrapper functions in this package all rely on a OMDB API key residing in the environment variable OMDB_API_KEY. The easiest way to accomplish this is to set it in the .Renviron file in your home directory.

Usage

omdb_api_key(force = FALSE)

Arguments

force

force setting a new OMDB API key for the current environment?

Value

atomic character vector containing the OMDB API key

Note

The "poster" API requires a separate key


[Package imdbapi version 0.1.0 Index]