【问题标题】:Google Picker API developerkeyGoogle Picker API 开发者密钥
【发布时间】:2014-04-01 18:45:59
【问题描述】:

我正在尝试使用Google Picker API。但我无法找到开发者密钥。

我已经创建了我的项目并设置了 OAuth。我有以下几点:-

Client ID      123xyz.apps.googleusercontent.com
Email address  987abc@developer.gserviceaccount.com
Client secret  1234-56789

但是,Google Picker 脚本需要以下内容:-

// The API developer key obtained from the Google Developers Console.
var developerKey = '';

// The Client ID obtained from the Google Developers Console.
var clientId = '987abc@developer.gserviceaccount.com';

谁能告诉我在哪里可以找到我的开发者密钥?

我浏览了我的开发者控制台,但在任何地方都找不到!

提前感谢您的帮助。

【问题讨论】:

    标签: google-api


    【解决方案1】:

    在代码中称为 developer key,但在 Google 开发者控制台上称为 API key

    您必须前往Google Developer console,选择您的项目,然后单击名为Create New Key 的红色按钮,并根据您的具体情况进行操作。

    您现在也可能会发现 this SO question 相关,或者如果您遇到有关选择器的其他问题。

    【讨论】:

    • 谢谢!它位于标记为API KeyPublic API access 部分中的my-project->Apis & auth->Credentials 下。干杯,Xenocideae!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-04-21
    • 2019-09-29
    • 2013-12-27
    • 1970-01-01
    • 2016-10-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多