View source: R/aemet_api_key.R
aemet_detect_api_key | R Documentation |
The function would detect if an API Key is available on this session:
If an API Key is already set as an environment variable it would be preserved
If no environment variable has been set and you have stored permanently
an API Key using aemet_api_key()
, the latter would be loaded.
aemet_detect_api_key(...)
aemet_show_api_key(...)
... |
Ignored |
TRUE
or FALSE
. aemet_show_api_key()
would display your stored API keys.
Other aemet_auth:
aemet_api_key()
aemet_detect_api_key()
# CAUTION: This may reveal API Keys
if (FALSE) {
aemet_show_api_key()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.