I can create a private calendar using the following code:
calendar = gdata.calendar.CalendarListEntry()
calendar.title = atom.Title(text=title)
calendar.summary = atom.Summary(text=description)
calendar.where = gdata.calendar.Where(value_string=location)
calendar.color = gdata.calendar.Color(value=color)
calendar.timezone = gdata.calendar.Timezone(value=time_zone)
calendar.hidden = gdata.calendar.Hidden(value='false')
new_calendar =
self.cal_client.InsertCalendar(new_calendar=calendar)
However, I am not sure how to specify the visibility property.
If anyone has any suggestions please let me know.
Regard
-J.
--
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html