繁体   English   中英

Google Calendar API +电子邮件通知ics文件

[英]Google Calendar API + email notification ics file

我正在使用Google Calendar API在Google Calendar上创建事件,效果很好。 当我在Google日历中修改其中一个事件时,Google可以通过电子邮件向我发送带有.ics文件的甚至更新。

有没有一种方法可以通过电子邮件或ics文件确定eventid,并在使用API​​创建事件时将其绑定回eventid?

例如,我想自动接收从Google日历发送的事件更改电子邮件,并在数据库中更新事件(我将使用API​​添加事件后返回的事件ID存储在数据库中)

在电子邮件的正文中,您应该具有:

<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/push

暂无
暂无

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

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