APIKeys: API keys for data services.

APIKeysR Documentation

API keys for data services.

Description

This package maintains an internal set of API keys which users can set using setAPIKey(). These keys will be remembered for the duration of an R session. This functionality provides an abstraction layer in dependent packages so that data access functions can test for and access specific API keys with generic code.

Format

Character strings.

Details

The following functions help with the management of API keys:

getAPIKey() – Returns the API key associated with a web service. If provider == NULL a list is returned containing all recognized API keys.

setAPIKey() – Sets the API key associated with a web service. Silently returns previous value of the API key.

showAPIKeys() – Returns a list of all currently set API keys.


MazamaScience/MazamaLocationUtils documentation built on Jan. 26, 2024, 3:16 p.m.