YouTube 数据 API“youtube#channel"查询:“brandingSettings.image"自 2020 年 11 月 11 日起不再可用? [英] YouTube Data API 'youtube#channel' query: the 'brandingSettings.image' is no longer available as of 11-11-2020?

查看:18
本文介绍了YouTube 数据 API“youtube#channel"查询:“brandingSettings.image"自 2020 年 11 月 11 日起不再可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 YouTube 数据 API 执行youtube#channel"查询,brandingSettings.image 自 2020 年 11 月 11 日起不再可用?有没有其他人注意到这一点?有没有办法让 brandingSettings.image.bannerImageUrl 向前发展?

Using the YouTube Data API, doing a 'youtube#channel' query, the brandingSettings.image is no longer available as of 11-11-2020? Has anyone else noticed this? Will there any way to get the brandingSettings.image.bannerImageUrl going forward?

这是用于返回频道 bannerImageUrl 的 API URL:

This is the API URL that used to return a channel's bannerImageUrl:

https://www.googleapis.com/youtube/v3/channels?part=brandingSettings&id=UCXGgrKt94gR6lmN4aN3mYTg&key=[您的密钥].

谢谢,-基思

推荐答案

确实,官方 API 修订历史文档明确指出(尽管日期不同):

Indeed, the official API revision history doc specifies exactly that (albeit with a different date):

2020 年 9 月 9 日

此更新涵盖以下 API 更改.所有变更将于 2020 年 9 月 9 日(即本公告日期)或之后生效.考虑到这一点,开发人员不应再依赖下面列出的任何 API 功能.

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.

  • 以下 API 资源、方法、参数和资源属性将立即弃用,并将在本公告发布之日或之后停止工作:
    • 以下 channel 资源属性:
      • brandingSettings.image 对象及其所有子属性
      • 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.

          This announcement indicates no replacement for the deprecated and removed Channel resource properties. Neither the official spec of brandingSettings.image.

          此外,据我所知,没有其他 API 端点可以以一种或另一种方式提供这些属性.

          Moreover, as far as I know, there's no other API endpoint that'll provide those properties one way or the other.

          这篇关于YouTube 数据 API“youtube#channel"查询:“brandingSettings.image"自 2020 年 11 月 11 日起不再可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆