Search code examples
pythongoogle-calendar-apigdata-apigdata

Query Events from Multiple Google Calendars in Single Batch


Is there a way to query for events in multiple calendars (in the same Google account) in a single batch request?

I've been through the Google documentation here, but it hasn't really helped.

What I'm trying to do really is scan through a given user's calendars and get a list of events for each one.

An example in python/gdata would be amazing.

EDIT: Looks like this answers my question. TL;DR not possible.


Solution

  • Short answer: No

    Long answer: The API does not allow you to fetch more than one calendar with a single request and it doesn't allow you to manipulate more than one calendar in a single request.

    If this is really important to you (you're trying to reduce requests so I guess it's about performance), you could possible use the Google App Engine to create a function that would perform this work for you. I'm not sure you would see a big jump in performance though.