如何获得使用YouTube API每个YouTube频道的频道类型或类别?

问题描述:

我是新来使用YouTube API。
我试图让每一个频道的频道分类,但我不知道如何使一个请求,以获得类别。

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.

我举一个例子:
http://socialblade.com/youtube/user/pewdiepie

正如你可以在pewdiepie的Socialblade统计看到有一个通道类型上面和​​pewdiepie的通道类型或类别是游戏,但如何做到为Socialblade要求?

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.

嘛V3 API没有为每个信道的类别,所以他们可能会使用一个公式在通道中发现的视频,以确定整个类别。

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