Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) response = client.streaming.statistics.get_vod_watch_time_total_cdn() print(response)
[ { "client": 123, "client_user_id": 102, "duration": 1000 } ]
Calculates the total duration of video watching in minutes. Views of only those videos that meet the specified filters are summed up.
The statistics are taken from the data of CDN and work regardless of which player the views were made with.
Was this page helpful?