aemet_detect_api_key: Check if an AEMET API Key is present for the current session

View source: R/aemet_api_key.R

aemet_detect_api_keyR Documentation

Check if an AEMET API Key is present for the current session

Description

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.

Usage

aemet_detect_api_key(...)

Arguments

...

Ignored

Value

TRUE or FALSE

See Also

Other aemet_auth: aemet_api_key()

Examples


aemet_detect_api_key()

climaemet documentation built on March 18, 2022, 7:01 p.m.