ApiRequest: ApiRequest

Description Usage Arguments Value

View source: R/ApiRequest.R

Description

Internal function - Calls the API and gets response for specified params

Usage

1
2
3
ApiRequest(body = "", func.name = "", interval.seconds = 2,
  max.attempts = 1, print.attempts = FALSE, skip.queue = FALSE,
  format = "json")

Arguments

func.name

the name of the Adobe Analytics API function that we are calling

interval.seconds

Time to wait between request attempts (defaults to 2 seconds)

max.attempts

Max number of attempts to make the request (defaults to 1, this is only increased for GetReport)

print.attempts

if set to TRUE, this will print attempt numbers to the console

skip.queue

If set to TRUE, return content instead of parsing via jsonlite

report.description

JSON report description

Value

json


randyzwitch/RSiteCatalyst documentation built on May 11, 2020, 3:05 p.m.