authorize: Authorize R package to access Google Analytics API

Description Usage Arguments

View source: R/auth.R

Description

This is a function to authorize the R package to access the Google Analytics API. If no client.id and client.secret is provided, the package would provide predefined values.

Usage

1
2
authorize(client.id = getOption("gamanager.client.id"),
  client.secret = getOption("gamanager.client.secret"))

Arguments

client.id

OAuth client ID. This is obtained from Google API Credentials

client.secret

OAuth client secret. This is obtained from Google API Credentials


hairizuanbinnoorazman/gamanager documentation built on May 17, 2019, 2:25 p.m.