request_ga {metricminer}R Documentation

Handler for API requests from Google Analytics

Description

This is a function that handles requests from Google Analytics

Usage

request_ga(token, url, query = NULL, body_params = NULL, request_type)

Arguments

token

credentials for access to Google using OAuth. 'authorize("google")'

url

The endpoint URL for the request

query

A list to be passed to query

body_params

The body parameters for the request

request_type

Is this a GET or a POST?

Value

An API response in the form of a list


[Package metricminer version 0.5.1 Index]