在哪里下载 your_client_secret_File.json 文件

Where to download your_client_secret_File.json file

我正在使用 YouTube API,但首先,我需要 your_client_secret_File.json 的凭据文件。按照本教程 https://developers.google.com/youtube/analytics/reference/reports/query 中的 python 部分进行操作。我找不到他们说的(下载Json)。

在何处下载此 JSON 文件已在说明中明确说明。

  1. 转到您的 Google API Console,您将在其中使用 Gmail 帐户登录。

  2. 前往凭据创建其他类型的 OAuth 客户端 ID。 https://developers.google.com/youtube/analytics/reference/reports/query

凭据页面如下所示

Select OAuth 客户端 ID 并选择其他:

创建后,它将出现在您的凭据列表中:

您可以通过单击页面最右侧的 'DOWN' 箭头下载它: