Helper function to set API keys as environment variables
1 | set_key_(.name, api_key, install, overwrite)
|
.name |
name of the environment variable to set |
api_key |
the api key string |
install |
should the key be installed to the .Renviron file for use in future sessions? |
overwrite |
if a key is already installed, should it be overwritten? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.