问题
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