Streaming Statistics
Get views by countries in built-in player
Aggregates the number of views grouping them by country in the built-in player.
Note. This method operates only on data collected by the built-in HTML player. It will not show statistics if you are using another player or viewing in native OS players through direct .m3u8/.mpd/.mp4 links. For such cases, use calculations through CDN (look at method /statistics/cdn/uniqs) or statistics of the players you have chosen.
get/streaming/statistics/countries
Query parameters
date_fromstring required
Start of time frame. Datetime in ISO 8601 format.
date_tostring required
End of time frame. Datetime in ISO 8601 format.
Response
OK
Example response
{
"data": [
{
"views": 100500,
"country": "AU",
"country_name": "Australia"
},
{
"views": 3000,
"country": "US",
"country_name": "United States"
}
]
}