#' Get AppMagic API Authentication token
#' @description Get AppMagic API Authentication token <https://api.appmagic.rocks/v1/docs#section/Authentication>
#' @importFrom RCurl base64
#'
#' @param name Account name
#' @param password Account password
#'
#' @export
am_auth <- function(name, password) {
token <- base64(paste0(name, ":", password))
paste("Basic", token)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.