如何通过Vimeo API获取视频统计信息 [英] How to get video stats via vimeo api

查看:495
本文介绍了如何通过Vimeo API获取视频统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过api调用获取我的vimeo帐户中视频的统计信息. 我正在使用 https://api.vimeo.com/me/videos/stats 端点以获取其文档中所述的统计信息. 我得到这个回应

{ 错误":您的访问令牌没有\" stats \范围" }

并且没有在应用程序仪表板上添加统计信息范围的选项

解决方案

尚未通过公共Vimeo API提供完整的统计信息.

API唯一返回的统计信息是视频的总播放统计信息,该统计信息在/videos/[video_id]端点上返回,记录在此处: https://developer.vimeo.com/api/reference/videos#GET/videos/ {video_id}

详细统计信息只能在现场获取: https://vimeo.com/stats

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

解决方案

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

这篇关于如何通过Vimeo API获取视频统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆