views:

54

answers:

1

Hi,

Re the Google Calendar API, I can't seem to see the Privacy" field for an Event? i.e. Public/Private/Default.

Is there a way to get the "Privacy" field for an Event? i.e. Public/Private/Default - or is this not available?

A: 

You can't get "privacy" field for an Event but you have to filter (public\private) events on your query.

query = gdata.calendar.service.CalendarEventQuery('default', 'private', 'full')
feed = calendar_service.CalendarQuery(query)

The second parameter of CalendarEventQuery is visibility (private\public)

Have a look to Event feeds too.

systempuntoout
I really want the event: all events that are not in working hours, plus any in working hours that are marked private
Greg