GoogleApiCreds: Google APIs OAuth 2.0 Credentials.

Description Usage Arguments

View source: R/GaApiRequest.R

Description

Create a Google APIs OAuth2.0 credentials object

Usage

1
2
3
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.


ganalytics documentation built on May 2, 2019, 8:34 a.m.