aa_get_data: Gets the data from Adobe Analytics API v2

Description Usage Arguments Examples

Description

This gives a raw call to the API, but it is intended other functions call this one

Usage

1
2
3
aa_get_data(req_path, body, company_id = Sys.getenv("AA_COMPANY_ID"),
  client_id = Sys.getenv("AA_CLIENT_ID"),
  client_secret = Sys.getenv("AA_CLIENT_SECRET"))

Arguments

req_path

The endpoint for that particular report

body

An R list that will be parsed to JSON

company_id

Set in environment args, or pass directly here

client_id

Set in environment args, or pass directly here

client_secret

Set in environment args, or pass directly here

Examples

1
2
3
4
5
6
7
8
## Not run: 

aa_get_data("reports/ranked",
            body = list(..etc..),
            company_id = "blah")


## End(Not run)

MarkEdmondson1234/adobeAnalyticsR documentation built on July 2, 2019, 8:43 p.m.