Function to get the previously saved API key. It has the
advantage that it is not necessary to explicitly publish the key in the
users code. Just do it one time and you're set. To save an API, use the
save_api_key
function. To remove a previously saved key, use
the remove_api_key
function.
get_api_key()
Returns the saved API key in the environment. If no API key has been
saved, returns NULL
value.
Please be careful when dealing with API keys and other secrets & tokens - keep them private and do not publish them.
if (FALSE) { get_api_key(type="genderize") get_api_key(type="agify") get_api_key(type="nationalize") }