get_api_key: Get the API key

Description Usage Details Value

View source: R/api-key.R

Description

Get the current API key set in the OPENAUSTRALIA_API_KEY environment variable. If a variable has been set in this session using set_api_key() then it will be returned, otherwise a key set in ~/.Renviron will be returned. If no key has been set then the function will stop with an error.

Usage

1

Details

Apply for an API key at the OpenAustralia site.

Value

The current API key


tobiasziegler/openaustralia documentation built on May 4, 2019, 4:25 p.m.