Skip to content

sonicdes/ruby-caldav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-caldav

Ruby client for searching, creating and editing CalDAV calendars and tasks.

Installation

gem install 'ruby-caldav'

Usage

require 'ruby-caldav'

u = "user1"
uri = "https://yourserver.com:8008/calendars/users/#{u}/calendar/"
cal = CalDAV::Client.new(uri: uri, user: u, password: "password")

Find events

result = cal.find_events(start: "2019-04-01", end: "2019-04-15")

Create new event

result = cal.create_event(start: "2019-04-12 10:00",
  end: "2019-04-12 12:00",
  title: "Some Meeting",
  description: "Meeting about something")

About

Ruby CalDAV client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages