genius_token {geniusr}R Documentation

Get or set Genius access token value

Description

The API wrapper functions in this package all rely on a Genius client access token residing in the environment variable GENIUS_API_TOKEN. The easiest way to accomplish this is to set it in the '.Renviron' file in your home directory.

Usage

genius_token(force = FALSE)

Arguments

force

force setting a new Genius API token for the current environment?

Value

atomic character vector containing the Genius API token


[Package geniusr version 1.2.1 Index]