Create a Google APIs OAuth2.0 credentials object
1 2 3 | GoogleApiCreds(userName = Sys.getenv(paste0(appname, "_USER")),
appCreds = NULL, cache = character(0), use_oob = FALSE,
appname = "GOOGLE_APIS")
|
userName |
Google username email address hint |
appCreds |
Filename or named vector for client_id and client_secret. |
cache |
httr OAuth2.0 cache |
use_oob |
as per httr |
appname |
prefix of environment variables that hold the client ID and client secret. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.