powered by
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 is the number in the URL, e.g. 1 in engage1.silverpop.com.
Access token obtained during this session.
Filter for programs created on or after this 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") # }
Run the code above in your browser using DataLab