Use Google Calendar UI but showing only filtered events

Posted by Edwin on Stack Overflow See other posts from Stack Overflow or by Edwin
Published on 2010-03-13T19:05:13Z Indexed on 2010/03/18 6:41 UTC
Read the original article Hit count: 436

I have just started using Google Calendar API (using Python client). I'm basically developing a web app for a school with Django.

What I'd like to achieve is something like this:

To make things simple for now, I have 1 Google account and all events will be created in the calendar under that account (this is the school calendar). The calendar will be made public.

When a class is created by a teacher, the class schedule will be automatically added as an event in the Google Calendar. When a student logs in, he can see the school calendar, showing only schedules from the classes that he's registered in.

I think I can filter the calendar feeds to show only class schedules that a student is registered in using Google Data API. The problem is, how can I display Google Calendar on my web app using Google Calendar UI to show only those filtered events?

I can use Google Calendar UI with the provided embeddable HTML snippet, but I can't control/filter events with that (i.e. all events in the school calendar will be displayed). Or perhaps I'm missing something? I read the Data API guide and the Publishing tool doc but I can't seem to find this information.

THanks in advance!

© Stack Overflow or respective owner

Related posts about google-calendar

Related posts about google-calendar-api