Open strukturart opened 2 years ago
settings: {
username: "",
password: "",
access_token: "An access token to use in place of username/password (not used unless setup in Nextcloud)",
server: "https://cloud.example.com:3333 or https://cloud.example.com:3333/nextcloud", //NO trailing "/"
basePath: "The absolute path for caldav calls, e.g. /remote.php/dav for Nextcloud", //YES lead "/"; NO trailing "/"
principalPath: "The relative path where principals can be found, e.g. /principals/users", //YES lead "/"; NO trailing "/",
timezone: "America/Chicago", //sets the default, can be overridden in methods
parserLogging: true //toggles verbose logging from the calendar parser
}
caldav.listCalendars({}).then(data => {
console.log(data);
});
I don't understand how to use the settings object. shouldn't it be a variable const settings = {}
?
No it is not. I will take pull requests though.
From: John-David Deubl @.> Sent: Thursday, June 23, 2022 10:09:42 AM To: SLYtiger16/caldavjs-nextcloud @.> Cc: Subscribed @.***> Subject: [SLYtiger16/caldavjs-nextcloud] is the project still in development? (Issue #6)
— Reply to this email directly, view it on GitHubhttps://github.com/SLYtiger16/caldavjs-nextcloud/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIWSQGI4CCBDZWNTXM7NW33VQR43NANCNFSM5ZUW5KLA. You are receiving this because you are subscribed to this thread.Message ID: @.***>