Description Usage Arguments Value Warning Author(s) See Also Examples
View source: R/api_structure.R
Saves the all in one genderize.io, agify.io & nationalize.io API
key in the users environment. 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 update the key just save again and it will
overwrite the old key. To explicitly print the key, use the
get_api_key
function. To remove the key use the
remove_api_key
function.
1 | save_api_key(key)
|
key |
API key obtained from the specific website. Visit the one of the following websites to obtain an API key: |
Does save the key in the environment.
Please be careful when dealing with API keys and other secrets & tokens - keep them private and do not publish them.
Matthias Brenninkmeijer - https://github.com/matbmeijer
1 2 3 4 | ## Not run:
save_api_key(key="__YOUR_API_KEY__")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.