使用 YouTube 数据 API,执行“youtube#channel”查询,brandingSettings.image
自 2020 年 11 月 11 日起不再可用?有没有其他人注意到这一点?有什么办法可以得到brandingSettings.image.bannerImageUrl
向前走?
这是用于返回频道的 API URLbannerImageUrl
:
https://www.googleapis.com/youtube/v3/channels?part=brandingSettings&id=UCXGgrKt94gR6lmN4aN3mYTg&key=[your key]
.
谢谢,
-基思
事实上,官方 API 修订历史文档明确指出了这一点(尽管日期不同):
2020 年 9 月 9 日
此更新涵盖以下 API 更改。所有变更将于2020年9月9日(即本公告发布之日)或之后生效。考虑到这一点,开发人员不应再依赖下面列出的任何 API 功能。
- 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
对象及其所有子属性
[...]
此公告表示不会替代已弃用和删除的Channel
资源属性。官方规格都不是brandingSettings.image.
此外,据我所知,没有其他 API 端点可以以一种或另一种方式提供这些属性。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)