get_programs {ibmAcousticR} | R Documentation |
Get List of Programs
Description
Get list of all programs in a particular date range. Prior to attempting this you must authenticate and obtain an access token.
Usage
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
## 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)
[Package ibmAcousticR version 0.2.1 Index]