No commit activity in last 3 years
No release in over 3 years
Work with Google Calendar using GData 2.0 + OAuth 1.0
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Find & Create + Update & Delete

All you need to survive a syncronization project with Google Calendar using GData 2.0 + OAuth 1.0

Synopsis

require 'google_calendar'
client = GoogleCalendarApiV2::Client.new "teambox.com", "secret", "oauth_token", "oauth_secret"

calendar = client.calendars.find 'calendar_token' || client.calendars.create { :title => "Teambox" }

calendar[:title] = 'Teambox calendar'

calendar.save

event = calendar.events.find 'calendar_token'

event[:title] = 'Updated event name'
event.save

event.destroy
calendar.destroy