Skip to main content
Version: 1.1.6

fetchCalendars

fetchCalendars

get all calendars of the passed in CALDAV account

const calendars = await fetchCalendars({
account,
headers: {
authorization: 'Basic x0C9uFWd9Vz8OwS0DEAtkAlj',
},
});

Arguments

Return Value

array of DAVCalendar of the account

Behavior

use PROPFIND to get all the basic info about calendars on certain account