我正在使用 Google Calendar API 在 Google Calendar 上创建活动,该 API 工作正常。
当我修改 Google 日历中的其中一项活动时,Google 可以通过电子邮件向我发送包含 .ics 文件的更新。
有没有办法通过电子邮件或 ics 文件确定 eventid,并在我使用 API 创建事件时将其绑定回 eventid?
例如,我想自动接收从 Google 日历发送的事件更改电子邮件,并在我的数据库中更新该事件(我在其中存储使用 API 添加事件返回的 eventid)
在电子邮件正文中,您应该包含:
<meta itemprop=3D"eventId/googleCalendar" content=3D"[your event id here]"/>
然而,解析电子邮件并不是执行此操作的最佳方法。此处列出了首选方法:https://developers.google.com/google-apps/calendar/v3/sync https://developers.google.com/google-apps/calendar/v3/sync
如果您需要/想要一种推送方法,请参阅此处:https://developers.google.com/google-apps/calendar/v3/push https://developers.google.com/google-apps/calendar/v3/push
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)