如何获得顶级歌手YouTube数据API v3 [英] How can I get top artist youtube data API v3
问题描述
我正在使用Youtube API V3从youtube API中为我的Android应用程序获取顶级歌手.我想展示每个国家的杰出艺术家.知道如何从Youtube API检索顶级歌手列表.位于 https://www.youtube.com/yt/artists/charts.html
I am using Youtube API V3 to fetch top artist from youtube API for my Android app. I want to show Top Artists for each country. Any idea how can I retrieve the list of top Artists from Youtube API. located hear https://www.youtube.com/yt/artists/charts.html
推荐答案
否,无法通过youtube数据api获取艺术家列表.因为search.list()可接受的类型"值没有艺术家资源,所以:
No, it's not possible to get the artist list via youtube data api. Because the acceptable "type" values for search.list() does not have artist resource:
文档说:
可接受的值为:频道,播放列表,视频
Acceptable values are: channel, playlist, video
我唯一想到的方法是抓取该网页的数据 https://artists .youtube.com/charts/artists
The only way I can think of is to scrap the data of that web page https://artists.youtube.com/charts/artists
这篇关于如何获得顶级歌手YouTube数据API v3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!