get_programs: Get List of Programs

Description Usage Arguments Value Examples

View source: R/get_programs.R

Description

Get list of all programs in a particular date range. Prior to attempting this you must authenticate and obtain an access token.

Usage

1
get_programs(pod_number, session_access_token, start_date, end_date)

Arguments

pod_number

Pod number is the number in the URL, e.g. 1 in engage1.silverpop.com.

session_access_token

Access token obtained during this session.

start_date

Filter for programs created on or after this date.

end_date

Filter for programs created on or before this date.

Value

A data frame with the programs and program details.

Examples

1
2
3
4
5
6
7
8
## Not run: 
access_token <- acoustic_auth(org_client_id = "abc",
org_client_secret = "xyz",
my_refresh_token = "123")

get_programs(1, access_token, "2020-01-01", "2020-05-31")

## End(Not run)

ibmAcousticR documentation built on Aug. 28, 2020, 9:06 a.m.