【问题标题】:Google Calendar API + email notification ics fileGoogle Calendar API + 电子邮件通知 ics 文件
【发布时间】:2016-09-19 14:47:14
【问题描述】:

我正在使用谷歌日历 API 在谷歌日历上创建活动,该 API 运行良好。 当我在 Google 日历中修改其中一项活动时,Google 可以通过电子邮件向我发送带有 .ics 文件的更新。

有没有办法通过电子邮件或 ics 文件确定 eventid,并在我使用 API 创建事件时将其绑定回 eventid?

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

【问题讨论】:

    标签: google-calendar-api icalendar


    【解决方案1】:

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

    <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

    【讨论】:

      猜你喜欢
      • 2022-01-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-11-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多