get_programs {ibmAcousticR} | R Documentation |
Get list of all programs in a particular date range. Prior to attempting this you must authenticate and obtain an access token.
get_programs(pod_number, session_access_token, start_date, end_date)
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. |
A data frame with the programs and program details.
## 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)