How to get the Channel Type or Category of each YouTube channel using YouTube API?

好久不见. 提交于 2021-02-10 19:47:59

问题


I am new to using the YouTube API. I am trying to get the Channel Category of each channel, but I don't know how to make a request to get the category.

I will give an example: http://socialblade.com/youtube/user/pewdiepie

As you can see on the Socialblade statistic of pewdiepie there is a "CHANNEL TYPE" above and the channel type or category of pewdiepie is "Games" but how did Socialblade request for that?

I hope you can help me. Thank you.


回答1:


Well the v3 API doesn't have a category for each channel, so they probably use a formula on the videos found in the channel to determine the overall category.

https://developers.google.com/youtube/v3/docs/channels



来源:https://stackoverflow.com/questions/26706288/how-to-get-the-channel-type-or-category-of-each-youtube-channel-using-youtube-ap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!