View source: R/plumber_functions.R
mario_auth | R Documentation |
Authorization Header for mario
mario_auth(api_key = Sys.getenv("CONNECT_API_KEY"))
mario_api_url()
mario_api_key(api_key = Sys.getenv("CONNECT_API_KEY"))
mario_have_api_key(api_key = Sys.getenv("CONNECT_API_KEY"))
api_key |
API key for RStudio Cnnect |
A header
output
out = mario_auth()
if (mario_have_api_key()) {
mario_api_key()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.