Google日历监视事件更新 [英] Google calendar watch for updates on events

查看:70
本文介绍了Google日历监视事件更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以编程方式收听我在Google日历上创建的活动更新时(例如某人接受/拒绝邀请时),并且希望接收有关该活动的相关信息(类型,已确认/已拒绝的参与者等).我已经尝试过使用zapier,到目前为止,它已经完成了工作.是否有使用Google API的本地方法?我也尝试过使用Google日历推送通知,但是从Webhook接收到的数据不足以满足我的用例.谢谢!

I want to listen programmatically when an event I created on the Google calendar is updated (like when someone accept/reject an invite) and I want to receive the relevant info regarding the event (type, confirmed/declined attendees, etc). I've tried using zapier and so far it does the job. Is there a native way to do that using Google API? I've also tried using Google calendar push notifications but the data I've received from the webhook isn't sufficient for my use case. Thanks!

推荐答案

您应该可以使用一个 Google Apps脚本.

他们的文档解释了监听日历更改的过程事件.然后,您需要使用Calendar Sync API 执行增量同步并处理根据您的意愿来确定活动的详细信息.

Their documentation explains the process of listening for a calendar change event. Then, you'll need to perform an incremental sync with the Calendar Sync API and handle the specifics of the event based on how you want.

请注意,更简单地说, webhook 即可满足您的用例.

Note that more simply, a webhook may suffice for your use case.

这篇关于Google日历监视事件更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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