无法找到Youtube数据v3作为频道列表

时间:2017-06-20 21:16:45

标签: youtube youtube-api youtube-data-api

友 我想在查询中搜索属于某个类别(categoryId)的频道。 在app控制台的示例中(https://developers.google.com/apis-explorer/),its确定。

但是当我尝试使用我的密钥运行任务时,搜索没有返回任何结果。

我使用这个键:

https://www.googleapis.com/youtube/v3/channels?part=snippet&categoryId=GCQmVhdXR5ICYgRmFzaGlvbg&key= {YOUR_API_KEY}

1 个答案:

答案 0 :(得分:0)

尝试使用基于videoCategoryId过滤视频搜索结果的category参数。如果您为此参数指定值,则还必须将type参数的值设置为video

如果请求包含无效的搜索过滤器和/或限制组合,您可能会遇到badRequest (400) invalidSearchFilter错误。

请注意,如果为eventTypevideoCaption {设置值,则必须将类型参数设置为视频 {1}} videoCategoryId,videoDimension,videoDuration,videoEmbeddable,videoLicense,videoSyndicated或videoType参数。