Ruby client for searching, creating, editing calendar and tasks.
Tested with ubuntu based calendar server installation.
It is a modified version of another caldav client under MIT license
https://github.com/n8vision/caldav-icloud
gem install 'twisted-caldav'require 'twisted-caldav'
u = 'user1'
cal = TwistedCaldav::Client.new(uri: "http://yourserver.com:8008/calendars/users/#{u}/calendar/", user: u , password: 'xxxxxx')result = cal.find_events(start: '2014-04-01', end: '2014-04-15')result = cal.create_event(start: '20140412T100000Z', end: '20140412T120000Z', title: 'Meeting With Me', description: 'Meeting about nothing...:D')
result = cal.create_event(start: '20140412', end: '20140413', title: 'One day off', description: 'One day off')
# Note that the end specifies the non-inclusive end of the event, so the example above is an event of 1 day