Youtube API - Get youtube-trends via Json, possible?
Youtube GDATA
http://gdata.youtube.com/demo/index.htmlExample json link
http://gdata.youtube.com/feeds/api/standardfeeds/most_recent?alt=jsonDid not work
http://gdata.youtube.com/feeds/api/standardfeeds/youtube_trends?alt=json http://gdata.youtube.com/feeds/api/standardfeeds/youtube-trends?alt=jsonThanks in advance!
PeterIf 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®ionCode=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
精彩评论