Thanks for your response.
Sorry for the lack of information.
Actually, we would like to use the MediaAnalytics plugin to generate a chart that displays the number of users who left the video
at time=n seconds. I think we need to use the
media_spent_time segment in order to do that.
We would like to get data from the API to generate a graph similar to the ‘Time spent watching’ graph created by this url:
We need to generate charts in our CMS by getting data from the API.
We need accurate data and if possible we would like to avoid to use time ranges like
Currently, we use this command, but we would like to reduce the number of calls to the API.
At time = 35 seconds, X users left the video:
curl -X GET "https://mydomain.com/index.php?\
token_auth=xyz" -v | python -m json.tool
As our videos are about 10 minutes long, we can’t call the API 600 times…
Any help would be highly appreciated.