GetAuthToken: GetAuthToken

Description Usage Arguments Value

Description

Get an OAuth2.0 authentication token for accessing the Google Prediction API

Usage

1
2
  GetAuthToken(appname, file = NULL, key = NULL,
    secret = NULL)

Arguments

appname

name of the Google APIs project for authentication

file

optional path and filename where to save the OAuth2.0 token for reuse

key

optional OAuth key to use or NULL to use the key in the environment variables for appname

secret

optional OAuth secret to use or NULL to use the secret in the environment variables for appname

Value

an OAuth2.0 reference class object to use for httr requests


jdeboer/gprediction documentation built on May 19, 2019, 8:24 a.m.