get https://developer.dacast.com/v2/analytics///?startdate=&enddate=
Analytics Behavior Based on Date Parameters
When you request analytics, either with or without specifying a time range, the following logic determines the level of granularity:
1. Both StartDate and EndDate are provided:
StartDate and EndDate are provided:- If the range (
EndDate - StartDate) is 7 days or less:- Analytics are returned per hour
- If the range is greater than 30 days:
- Analytics are returned per month
- Otherwise:
- Analytics are returned per day
2. Only StartDate is provided:
StartDate is provided:- The same logic as above applies, with
EndDateautomatically set to the current time
3. Only EndDate is provided or neither date is provided:
EndDate is provided or neither date is provided:- Analytics are returned per month
