2.0.2 • Published 7 years ago
@datafire/caldav v2.0.2
@datafire/caldav
Client library for CalDAV
Installation and Usage
npm install --save @datafire/caldavlet caldav = require('@datafire/caldav').create({
username: "",
password: "",
access_token: "",
server: "",
basePath: "",
principalPath: ""
});
caldav.listCalendars({}).then(data => {
console.log(data);
});Description
Access and update calendar data using the CalDAV protocol
Actions
listEvents
caldav.listEvents({
"filename": ""
}, context)Input
- input
object- filename required
string
- filename required
Output
- output
array- items
object- etag
string - calendarData
string - start
string - end
string - summary
string
- etag
- items
createCalendar
caldav.createCalendar({
"name": "",
"timezone": "",
"filename": ""
}, context)Input
- input
object- name required
string - timezone required
string - filename required
string - description
string
- name required
Output
- output
string
listCalendars
caldav.listCalendars({}, context)Input
- input
object
Output
- output
array- items
object- owner
string - displayName
string - ctag
string - syncToken
string
- owner
- items
deleteCalendar
caldav.deleteCalendar({
"filename": ""
}, context)Input
- input
object- filename required
string
- filename required
Output
- output
string
getChanges
caldav.getChanges({
"filename": "",
"syncToken": ""
}, context)Input
- input
object- filename required
string - syncToken required
string
- filename required
Output
- output
object- syncToken
string - changes
array- items
object- href
string - etag
string
- href
- items
- syncToken
createEvent
caldav.createEvent({
"start": "",
"end": "",
"summary": "",
"filename": ""
}, context)Input
- input
object- start required
string - end required
string - summary required
string - organizer
string - filename required
string
- start required
Output
- output
string
deleteEvent
caldav.deleteEvent({
"filename": ""
}, context)Input
- input
object- filename required
string
- filename required
Output
- output
string
Definitions
This integration has no definitions