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