开发者

Vimeo - videos.getChannels

开发者 https://www.devze.com 2022-12-28 20:07 出处:网络
How can I efficiently retrieve a list of channels that a Vimeo video is listed in from the Advanced Vimeo API?

How can I efficiently retrieve a list of channels that a Vimeo video is listed in from the Advanced Vimeo API?

The Advanced Vimeo API provides the methods channels.addVideo and channels.removeVideo for managing the channels a video belongs to. Also, the channels.getVideos method is provided for retrieving the lis开发者_Go百科t of videos belonging to a channel.

However, there is no videos.getChannels method. This means that in order to find all the channels a video is included in one would need to call channels.getVideos (possibly more than once if the channel has more than 50 videos) for each channel of interest. This seems terribly inefficient.


From what I have seen so far it has not been implemented into v1, but will be added into v2. I am still looking to see if there is an alternative

edit*

take a look at this page because they have this method vimeo.channels.getAll

VIMEO

I know this will get you a list of channels, from there I dont know if you can compare that to the video to make a list of channels that the video is in. I'm still looking.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号