Is it possible to get play statistics from an album of videos using the Vimeo API?

人盡茶涼 提交于 2019-12-25 12:19:21

问题


We have a request from someone on our internal team to send a monthly report of play count for a set of videos that we have grouped in an album.

I think this is something we're going to be asked to do for several different groups so I was hoping to write a program that would handle this for me.

Glancing through the Vimeo API, I didn't see anything relating to pulling up analytic or usage data.

Am I missing something obvious? Or is that capability just not there?

Thanks for your help!


回答1:


In the new api (developer.vimeo.com/api) play stats are included in each clip response.

So if you made an HTTP GET request to /me/albums/[album_id]/videos, you should be able to loop through the videos (and through multiple pages if necessary) and pull out the play data.

We don't expose much more than the play data yet, but there will soon be Advanced Stats exposed through the API, just like on site.



来源:https://stackoverflow.com/questions/23274137/is-it-possible-to-get-play-statistics-from-an-album-of-videos-using-the-vimeo-ap

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