Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ember.js/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google api Google Picker API developerkey_Google Api - Fatal编程技术网

Google api Google Picker API developerkey

Google api Google Picker API developerkey,google-api,Google Api,我正试着用这个。但是我很难找到开发人员密钥 我已经创建了我的项目并设置了OAuth。我有以下资料:- Client ID 123xyz.apps.googleusercontent.com Email address 987abc@developer.gserviceaccount.com Client secret 1234-56789 // The API developer key obtained from the Google Developers Console. v

我正试着用这个。但是我很难找到开发人员密钥

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

Client ID      123xyz.apps.googleusercontent.com
Email address  987abc@developer.gserviceaccount.com
Client secret  1234-56789
// 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 Picker脚本需要以下内容:-

Client ID      123xyz.apps.googleusercontent.com
Email address  987abc@developer.gserviceaccount.com
Client secret  1234-56789
// 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密钥

您必须转到,选择您的项目,然后单击名为“创建新密钥”的红色按钮,然后按照特定于您的情况的步骤进行操作


如果您现在或遇到关于挑选者的其他问题,您也可能会发现相关信息。

谢谢!它位于
myproject->API&auth->Credentials
下的
publicapi-access
部分,标签为
API-Key
。干杯!