Reputation: 218
I'm trying to fetch all events from a Google calendar using V3 API. I've noticed an issue regarding recurring events. For some recurring events, on some calendars, only the first instances are fetched (for example - first 5 out of total of 8 instances are fetched).
Few additional details:
I've double checked that the query date-range is correct.
Problem occurred few times - for different Google Apps organizations.
Any inputs will be appreciated. Thanks!
Upvotes: 6
Views: 1893
Reputation: 1636
You should set the "singleEvents" flag to True when calling the the API's 'list' command.
From the API documentation:
Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
Upvotes: 10