The client can list calendars. It can't create, edit, delete, or share them.
Add to the client:
create_calendar(name, color=None, timezone=None) -> str
update_calendar(calendar_id, name=None, color=None, timezone=None)
delete_calendar(calendar_id)
share_calendar(calendar_id, account_id, rights)
get_calendar_subscriptions() -> list
set_default_alerts(calendar_id, alerts)
All use Calendar/set. The existing build_calendar_get / parse_calendar_get in _methods/calendar.py is the pattern. Add build_calendar_set and parse_calendar_set alongside.
Sharing uses shareWith on the Calendar object: a dict of account ID to right strings (mayReadItems, mayWriteAll, etc.).
The client can list calendars. It can't create, edit, delete, or share them.
Add to the client:
All use
Calendar/set. The existingbuild_calendar_get/parse_calendar_getin_methods/calendar.pyis the pattern. Addbuild_calendar_setandparse_calendar_setalongside.Sharing uses
shareWithon the Calendar object: a dict of account ID to right strings (mayReadItems,mayWriteAll, etc.).