使用 API 密钥获取任务数据
我正在尝试使用 API 密钥获取谷歌任务数据。
在上面的链接中,提到从 Google 任务 API 访问获取 API 密钥。 但我不知道如何通过代码获取这个API密钥。
API密钥与谷歌帐户相关吗? 如果它与谷歌帐户相关,那么对于不同的谷歌帐户来说它是唯一的吗? 或者 API密钥是否与应用程序相关(用于获取任务数据)?
如何通过代码获取google Tasks API密钥?
I am trying to get google tasks data using API key.
I have referred below link.
http://code.google.com/p/google-api-java-client/source/browse/tasks-v1-json-oauth2-android-sample/src/com/google/api/client/sample/tasks/v1/android/TasksSample.java?repo=samples
In the above link, it is mentioned that get the API key from Google tasks API access.
But I do not know exactly how to get this API key through code.
Is API key related google accounts?
If it is related to google account, then is it unique for different google accounts?
or
Is API key related to application (which is used to get tasks data)?
how to get google Tasks API key through code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 Google API 控制台生成 API 密钥。 API 密钥链接到 Google 帐户,并且对于每个帐户都是唯一的。
Generate the API key from Google API Console. The API key is linked to the Google Account and will be unique to each account.