Validates the provided Pluto API token and, if valid, stores it to the
PLUTO_API_TOKEN environment variable to be provided in subsequent API requests.
Usage
pluto_login(api_key, save_Renviron = FALSE, silent = FALSE)
Arguments
- api_key
String, API token
- save_Renviron
Boolean, save the API token to .Renviron
- silent
Boolean, suppress login message
Value
TRUE if API key is valid, otherwise returns an error message.