在哪里可以找到';youtube-v3-api-captions.json';发现文件?

在哪里可以找到';youtube-v3-api-captions.json';发现文件?,youtube,youtube-api,youtube-data-api,Youtube,Youtube Api,Youtube Data Api,我尝试使用YouTube API获取视频字幕,但示例不完整: 具体来说,它有以下注释+代码: # Trusted testers can download this discovery document from the developers page # and it should be in the same directory with the code. with open("youtube-v3-api-captions.json", "r") as f: doc = f.read

我尝试使用YouTube API获取视频字幕,但示例不完整:

具体来说,它有以下注释+代码:

# Trusted testers can download this discovery document from the developers page
# and it should be in the same directory with the code.
with open("youtube-v3-api-captions.json", "r") as f:
  doc = f.read()
  return build_from_document(doc, http=credentials.authorize(httplib2.Http()))
但根本不清楚在哪里可以找到
youtube-v3-api-captions.json
文件

在哪里可以找到它?

它似乎在这里:


通过猜测“youtube”和“v3”的名称发现,在

的“Try It”部分有一个“meta”发现API,列出了这些API并包含指向各自发现文档的链接:

不清楚如何从该链接获取请求的JSON文档。