谷歌日历关注事件更新 [英] Google calendar watch for updates on events

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

问题描述

我想在我在 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 脚本.

You should be able to do this with a small Google Apps Script.

他们的文档解释了监听日历变化的过程事件.然后,您需要使用 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.

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

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