开发者

Youtube API - Get youtube-trends via Json, possible?

is it possible to get the Youtube Trends http://feeds.feedbur开发者_开发百科ner.com/youtube-trends via json?

Youtube GDATA

http://gdata.youtube.com/demo/index.html

Example json link

http://gdata.youtube.com/feeds/api/standardfeeds/most_recent?alt=json

Did not work

http://gdata.youtube.com/feeds/api/standardfeeds/youtube_trends?alt=json

http://gdata.youtube.com/feeds/api/standardfeeds/youtube-trends?alt=json

Thanks in advance!

Peter


If you are looking for the Trending videos on YouTube, you can find that feed at:

https://gdata.youtube.com/feeds/api/standardfeeds/on_the_web?alt=json

It is described as:

This feed lists trending videos as seen on YouTube Trends, which surfaces popular videos as their popularity is increasing and also analyzes broader trends developing within the YouTube community. This feed is available as an experimental feature.

What you are referencing are blog posts based on that feed, as seen on here.


First, you need an API key. Then, Just paste the following link into a web browser and then right-click --> save as JSON

https://www.googleapis.com/youtube/v3/videos?part=contentDetails&chart=mostPopular&regionCode=lk&key= {Your API key}

{Your API key} - Your personal API key can get from - https://developers.google.com/youtube/v3/getting-started

This question is already answered here

Youtube API - Getting trending videos for a specific keyword

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜