2.0.2 • Published 5 years ago

@datafire/caldav v2.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/caldav

Client library for CalDAV

Installation and Usage

npm install --save @datafire/caldav
let 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

Output

  • output array
    • items object
      • etag string
      • calendarData string
      • start string
      • end string
      • summary string

createCalendar

caldav.createCalendar({
  "name": "",
  "timezone": "",
  "filename": ""
}, context)

Input

  • input object
    • name required string
    • timezone required string
    • filename required string
    • description string

Output

  • output string

listCalendars

caldav.listCalendars({}, context)

Input

  • input object

Output

  • output array
    • items object
      • owner string
      • displayName string
      • ctag string
      • syncToken string

deleteCalendar

caldav.deleteCalendar({
  "filename": ""
}, context)

Input

  • input object
    • filename required string

Output

  • output string

getChanges

caldav.getChanges({
  "filename": "",
  "syncToken": ""
}, context)

Input

  • input object
    • filename required string
    • syncToken required string

Output

  • output object
    • syncToken string
    • changes array
      • items object
        • href string
        • etag string

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

Output

  • output string

deleteEvent

caldav.deleteEvent({
  "filename": ""
}, context)

Input

  • input object
    • filename required string

Output

  • output string

Definitions

This integration has no definitions