Calendar API
Note
To make this API work you should install nc_py_api with calendar extra dependency.
principal = nc.cal.principal()
calendars = principal.calendars() # get list of calendars
nc.cal
is usual caldav.DAVClient
object with the same API.
Documentation for caldav
can be found here: CalDAV
- class nc_py_api.calendar._CalendarAPI[source]
Class that encapsulates
caldav.DAVClient
. Avalaible as cal in the Nextcloud class.Note
You should not call
close
orrequest
methods of CalendarAPI, they will be removed somewhere in the future whencaldav.DAVClient
will be rewritten(API compatability will remains).