Google calendar api Google日历API未返回所有重复事件实例
一些有用的信息: 1.)我是每周定期活动的创造者 2.)将返回除11月2日事件外的所有其他事件实例 3.)讨论中的事件是“IOS会议” 4.)如果我通过特定的ID请求,我可以从Google API获取特定事件,但如果我请求整个日历,它不会显示 我正在通过他们的控制台使用Google日历API,在响应中它不会返回此事件。如果我将日期范围更改为包括11月9日(这是同一定期系列中的另一个IOS会议),则它会返回该事件,但不会返回11月2日的事件 我在我的谷歌日历中看到了谷歌事件,这个屏幕截图证明了这一点 下面是我从google calendar API获取事件时的样子,具体是通过ID获取的。您可以看到创建者是我的电子邮件Google calendar api Google日历API未返回所有重复事件实例,google-calendar-api,Google Calendar Api,一些有用的信息: 1.)我是每周定期活动的创造者 2.)将返回除11月2日事件外的所有其他事件实例 3.)讨论中的事件是“IOS会议” 4.)如果我通过特定的ID请求,我可以从Google API获取特定事件,但如果我请求整个日历,它不会显示 我正在通过他们的控制台使用Google日历API,在响应中它不会返回此事件。如果我将日期范围更改为包括11月9日(这是同一定期系列中的另一个IOS会议),则它会返回该事件,但不会返回11月2日的事件 我在我的谷歌日历中看到了谷歌事件,这个屏幕截图证明了这一
Google_Service_Calendar_Event {#18698
+anyoneCanAddSelf: null,
+attendeesOmitted: null,
+colorId: null,
+created: "2020-07-26T05:11:48.000Z",
+description: """
\n
Let's chat about this event \n
""",
+endTimeUnspecified: null,
+etag: ""3208875059494000"",
+guestsCanInviteOthers: null,
+guestsCanModify: null,
+guestsCanSeeOtherGuests: null,
+hangoutLink: "https://meet.google.com/agu-ndeu-wfw",
+htmlLink: "https://www.google.com/calendar/event?eid=MGhvZjliNGM4ZDNtaDdxaDM3bWdoNms0MnNfMjAyMDExMDJUMjAwMDAwWiB2N3M0YmExdG5yM2x1ZmwwYjdnZjNlZzQwc0Bn",
+iCalUID: "xxxxxxxxxxxxxx@google.com",
+id: "xxxxxxxxxxxxxx_20201102T200000Z",
+kind: "calendar#event",
+location: null,
+locked: null,
+privateCopy: null,
+recurrence: null,
+recurringEventId: "xxxxxxxxxxxxxx",
+sequence: 0,
+status: "confirmed",
+summary: "iOS Meeting",
+transparency: null,
+updated: "2020-11-03T21:05:29.747Z",
+visibility: null,
+"creator": Google_Service_Calendar_EventCreator {#6218
+displayName: null,
+email: "<my email is here>", <<<<<<<-----------
+id: null,
+self: null,
},
+"organizer": Google_Service_Calendar_EventOrganizer {#19293
+displayName: "My Calendar",
+email: "xxxxxxxx@group.calendar.google.com",
+id: null,
+self: true,
},
+"start": Google_Service_Calendar_EventDateTime {#18649
+date: null,
+dateTime: "2020-11-02T20:00:00Z",
+timeZone: "America/Los_Angeles",
},
+"end": Google_Service_Calendar_EventDateTime {#16575
+date: null,
+dateTime: "2020-11-02T21:00:00Z",
+timeZone: "America/Los_Angeles",
},
+"originalStartTime": Google_Service_Calendar_EventDateTime {#17050
+date: null,
+dateTime: "2020-11-02T20:00:00Z",
+timeZone: "America/Los_Angeles",
},
谷歌服务日历事件{code>18698
+anyonecanadself:null,
+AttendesoMatted:空,
+colorId:null,
+创建:“2020-07-26T05:11:48.000Z”,
+说明:“”
\n
让我们讨论一下此事件\n
""",
+endTimeUnspecified:null,
+etag:“3208875059494000”,
+GuestScaniviteOthers:空,
+guestsCanModify:null,
+GuestScanseOtherGuests:空,
+hangoutLink:“https://meet.google.com/agu-ndeu-wfw",
+HTMLINK:“https://www.google.com/calendar/event?eid=MGhvZjliNGM4ZDNtaDdxaDM3bWdoNms0MnNfMjAyMDExMDJUMjAwMDAwWiB2N3M0YmExdG5yM2x1ZmwwYjdnZjNlZzQwc0Bn",
+iCalUID:“xxxxxxxxxxxxxx@google.com",
+id:“XXXXXXXXXXXXX_20201102T200000Z”,
+种类:“日历#事件”,
+位置:空,
+锁定:空,
+私密副本:空,
+重复:空,
+复发:“XXXXXXXXXXXXX”,
+序列:0,
+状态:“已确认”,
+摘要:“iOS会议”,
+透明度:空,
+更新:“2020-11-03T21:05:29.747Z”,
+可见性:空,
+“创建者”:谷歌服务日历事件创建者{#6218
+displayName:null,
+电子邮件:“”,这似乎是一个bug!
已经有一份关于谷歌问题追踪者的报告详述了同样的行为:
我希望这对你有帮助!你能分享你提到的所有三个例子的API请求吗?@RafaGuillermo这是我为获取我的完整日历而提出的API请求,其中不包括11月2日的IOS会议@RafaGuillermo,这是专门通过ID获取11月2日IOS会议的API调用是否设置了事件的周期性设置,以及每个请求的完整(santised)响应是什么样子的?(11月2日的响应和11月3日的响应)以下是此google文档中的完整响应这里是事件的周期性设置:RRULE:FREQ=WEEKLY;UNTIL=20201123T075959Z;BYDAY=MO@RafaGuillermo