问题
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!
回答1:
You should be able to do this with a small Google Apps Script.
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.
Note that more simply, a webhook may suffice for your use case.
来源:https://stackoverflow.com/questions/61660007/google-calendar-watch-for-updates-on-events