How to get video stats via vimeo api

廉价感情. 提交于 2019-12-13 03:46:47

问题


I want to get stats of videos in my vimeo account through api call. I'm using https://api.vimeo.com/me/videos/stats endpoint to get stats as described in their documentation. And I'm getting this response

{ "error": "Your access token does not have the \"stats\" scope" }

and there is no option to add stats scope at apps dashboard


回答1:


Full stats are not yet available via the public Vimeo API.

The only stats returned by the API is a video's total play stat, which is returned on the /videos/[video_id] endpoint, documented here: https://developer.vimeo.com/api/reference/videos#GET/videos/{video_id}

Detailed stats can only be retrieved on-site: https://vimeo.com/stats



来源:https://stackoverflow.com/questions/50859829/how-to-get-video-stats-via-vimeo-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!