简体   繁体   English

读取Google日历活动

[英]Reading google calendar events

My client has created a calendar which is private. 我的客户创建了一个私人日历。 He provided ClientId, Secret, and Google Server API Key. 他提供了ClientId,Secret和Google Server API密钥。

He says it is possible to read events using auth, but I can't find a way. 他说可以使用auth读取事件,但是我找不到办法。 I created my own public calendar and reading events and was successful, but when I made it private it was not working. 我创建了自己的公共日历并阅读了事件,并获得了成功,但是当我将其设为私有时,它就无法正常工作。

Can someone explain me how Google api works? 有人可以向我解释Google api的工作原理吗? I read the documentations but it's complicated. 我阅读了文档,但是很复杂。

My client does not wish to share calendar as public or give emailId password, and says it is possible to fetch events. 我的客户不希望公开共享日历或提供emailId密码,并表示可以获取事件。 I don't think it's possible but I am looking for an answer from experienced person. 我认为这不可能,但是我正在寻找经验丰富的人的答案。

Your client is correct. 您的客户是正确的。 You need to read about service accounts at https://developers.google.com/accounts/docs/OAuth2ServiceAccount 您需要通过https://developers.google.com/accounts/docs/OAuth2ServiceAccount阅读有关服务帐户的信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM