youtube-api - YouTube 数据 API 'youtube#channel' 查询 : the 'brandingSettings.image' is no longer available as of 11-11-2020?

标签 youtube-api youtube-data-api google-apis-explorer

使用 YouTube 数据 API,执行“youtube#channel”查询,brandingSettings.image自 2020 年 11 月 11 日起不再可用?有没有其他人注意到这一点?请问有什么办法可以拿到brandingSettings.image.bannerImageUrl往前走?
这是用于返回 channel 的 bannerImageUrl 的 API URL :https://www.googleapis.com/youtube/v3/channels?part=brandingSettings&id=UCXGgrKt94gR6lmN4aN3mYTg&key=[your key] .
谢谢,
-基思

最佳答案

事实上,官方 API 修订历史文档准确地指定了这一点(尽管日期不同):

September 9, 2020

This update covers the following API changes. All changes will go into effect on or after 9 September 2020, the date of this announcement. With that in mind, developers should no longer rely on any of the API features listed below.

  • The following API resources, methods, parameters, and resource properties are deprecated immediately and will stop working on or after the date of this announcement:
    • The following channel resource properties:
      • The brandingSettings.image object and all of its child properties

[...]


此公告表示不建议替换已弃用和删除的 Channel资源属性。 brandingSettings.image 的官方规范都没有.
此外,据我所知,没有其他 API 端点会以一种或另一种方式提供这些属性。

关于youtube-api - YouTube 数据 API 'youtube#channel' 查询 : the 'brandingSettings.image' is no longer available as of 11-11-2020?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64792572/

相关文章:

javascript - 嵌入 youtube 播放器时收听

api - 尝试在 YouTube Analytics API 中过滤 "insightTrafficSourceDetail"时出现错误代码 400

google-apis-explorer - 将图像导入 Cloud AutoML Vision 中的 Google 存储时出错

python - 权限被拒绝 : 403 Request had insufficient authentication scopes

java - 在我的 Android 应用程序中使用 Google Youtube Api v3 出现 RuntimeException

php - 有人上传视频时通知

javascript - 使用 require.js !async 插件加载 youtube iframe api

youtube - YouTube订阅:插入失败,错误400

python - 如何使用 YouTube API v3 和 Python 从视频中获取评论?

youtube-api - 用于在动态播放列表中嵌入多个视频的 youtube API 的最新更改?