【发布时间】:2016-04-14 21:12:08
【问题描述】:
我正在尝试通过 python 使用 Google 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-discoverydocument.json", "r") as f:
doc = f.read()
return build_from_document(doc,http=credentials.authorize(httplib2.Http()))
你知道我怎么能找到这个 youtube-v3-discoverydocument.json 吗?上面写着可以从开发者页面下载,但是实在找不到在哪里。
谢谢
【问题讨论】:
标签: python json youtube-api