Google Calendar API - Recurring Event Instances Not Displaying

I am trying to retrieve all events from a Google calendar using the V3 API. I noticed a problem with repeating events. For some recurring events on some calendars, only the first copies are retrieved (for example, the first 5 of 8 copies are selected).

Some additional information:

  • I double-checked the correct date range of the request.

  • The problem has occurred several times - for different Google Apps organizations.

  • The problem also occurs if I try to retrieve events from the calendar of the event creator.
  • We use the Google python library to extract.

Any inputs would be appreciated. Thanks!

+6
source share
1 answer

You must set the "singleEvents" flag to "True" when you call the API List command.

From the API documentation:

Whether to propagate repeating events to instances and return only one-time events and instances of repeating events, but not the repeating events themselves. Optional. The default value is False.

+9
source

Source: https://habr.com/ru/post/988086/


All Articles