使用适用于Python的Google API-我从哪里获取client_secrets.json文件? [英] Using Google API for Python- where do I get the client_secrets.json file from?

查看:540
本文介绍了使用适用于Python的Google API-我从哪里获取client_secrets.json文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究使用Google API允许用户从iCal内部创建/编辑公司日历(Google日历)中的日历条目.

I am looking into using the Google API to allow users to create/ edit calendar entries in a company calendar (Google calendar) from within iCal.

我正在按照以下说明进行操作: https://developers.google.com/api-client-library/python/auth/web-app

I'm following the instructions at: https://developers.google.com/api-client-library/python/auth/web-app

第2步说,我将需要应用程序的client IDclient secret.我可以在我的应用程序的凭据"页面中看到client ID,但是我不知道client secret是什么或从哪里得到的-任何人都知道这是什么?如何下载?在哪里可以获取值以更新字段?

Step 2 says that I will need the application's client ID and client secret. I can see the client ID in the 'Credentials' page for my app, but I have no idea what the client secret is or where I get that from- anyone know what this is? How do I download it? Where can I get the value from to update the field?

推荐答案

client_ids_tab.png

转到凭据"选项卡,客户端ID将在此处列出.在右侧,有一个选项可以下载(.json文件)

Go to credentials tab client IDs will be listed there. In the right, there is an option to download it (.json file)

downloadbutton.png

这篇关于使用适用于Python的Google API-我从哪里获取client_secrets.json文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆