YouTube API:如何从频道X获取带有标签Y的视频? [英] YouTube API: How to get videos from channel X with tag Y?
本文介绍了YouTube API:如何从频道X获取带有标签Y的视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如,如何获得频道"http://www.youtube.com/nba"中所有标记为季后赛"的视频的JSON响应?
For example, how could I get a JSON response of all the videos from channel "http://www.youtube.com/nba" that are tagged "playoffs"?
推荐答案
YouTube调用tags
作为categories
.
YouTube calls tags
as categories
.
以下网址显示了来自NBA
频道的视频,它们带有JSON中的标签playoffs
和sports
(您可以添加更多).
The following URL shows videos from NBA
channel with tags playoffs
and sports
(you can add more obviously) in JSON.
http: //gdata.youtube.com/feeds/api/users/nba/uploads/-/sports/playoffs?v=2&alt=json
这篇关于YouTube API:如何从频道X获取带有标签Y的视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文