genius_token: Get or set Genius access token value

View source: R/auth.R

genius_tokenR 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


geniusr documentation built on Sept. 4, 2022, 1:07 a.m.