Is there a clean way to query a recurring event by ICalUID?

417 views
Skip to first unread message

LManners

unread,
Apr 26, 2012, 3:33:15 PM4/26/12
to Google Calendar API
My app needs to look up recurring events by ICalUID. I can use
events.list to accomplish this, but events.list includes modified
recurrence instances, which I don't want.

I can sort through the results on my client and throw away all
modified recurrence instances (which works), but is there a better way?

Sandip Shah

unread,
Apr 26, 2012, 5:32:18 PM4/26/12
to google-ca...@googlegroups.com
An easier way might be to store the id (assigned by Google) of the recurring event created with the iCalUID somewhere ... then you can just retrieve that specific event based on the id stored (the recurring event instances which are modified will have the same iCalUID, but different ids) - use the get method (https://developers.google.com/google-apps/calendar/v3/reference/events/get).

Sandip
vThrive
Reply all
Reply to author
Forward
0 new messages