ganalytics (version 0.10.7)

GoogleApiCreds: Google APIs OAuth 2.0 Credentials.

Description

Create a Google APIs OAuth2.0 credentials object

Usage

GoogleApiCreds(userName = Sys.getenv(paste0(appname, "_USER")),
  appCreds = NULL, cache = character(0), use_oob = FALSE,
  appname = "GOOGLE_APIS")

Arguments

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.