是否可以使用 v3 api 获取视频的 YouTube 作者姓名?
所以我正在努力切换到使用 YouTube api 的 v3 版本(它更好,就像一个完全不同的产品),但我要么遗漏了什么,要么......
So I'm working on switching to using the v3 version of the YouTube api (which is so much better it's like a completely different product), but I'm either missing something or it is ...
能够在一次调用中获取任意视频列表及其详细信息将使生活变得更好,但在视频中 list 方法,video detailssnippet"包含channelId",不是author".
Being able to fetch an arbitrary list of videos, and their details, in one call is going to make life significantly better, but in the videos list method, the the video details "snippet" contains the "channelId", not the "author".
我花了很多时间浏览文档,但找不到任何方法从 channelId 获取人类可读的作者姓名.
I've spent quite a bit of time looking through the documentation, but can't find any way of getting from a channelId to the human readable author name.
我应该如何将视频映射到作者?
How am I expected to map a video to an author?
接受的答案在撰写本文时可能是正确的,但截至 2/2018,snippet
部分现在包含一个 channelTitle
属性.
The accepted answer may have been correct at the time of writing, but as of 2/2018 the snippet
part now includes a channelTitle
property.