根据文档,我能够通过以下方式检索已订阅的 channel :

GET {base_URL}/subscriptions?part=snippet
                            &mine=true

现在我需要获取特定 channel 或成束的提要,所以我需要这样的东西
GET {base_URL}/search?part=snippet
                     &channelIds = {CHANEL_IDS}
                     &type=video
                     &videoCaption=closedCaption
                     &key={YOUR_API_KEY}

给我提供的 channel ID的供稿。我更喜欢使用v3 API。

最佳答案

您可以通过channels->list来完成。

GET https://www.googleapis.com/youtube/v3/channels?part=snippet%2C+contentDetails
              &id={CHANEL_IDS}&key={YOUR_API_KEY}

关于youtube - 如何通过在YouTube v3搜索API中传递 channel ID来获取特定 channel 的供稿?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19588490/

10-11 22:19
查看更多