This package is a simple wrapper for Montania's Google Calendar Class.
Copy the config file to application/config/googlecalendar.php
and input the proper information.
Just do straight static method calls. Don't worry about authentication, the wrapper will handle that for you.
$calendars = GoogleCalendar::get_all_calendars();
get_all_calendars()
Get a list of all calendars viewable by the user.get_own_calendars()
Get a list of all calendars owned by the user.create_calendar($title, $details, $timezone, $hidden, $color, $location)
Create a new calendar.delete_calendar($handle)
Delete a calendar.get_events($handle, $max, $from, $to)
Get all events from a calendar.get_event($handle, $id, $etag)
Get a single event from a calendar.get_event_by_id($handle, $event_id)
Get a single event from a calendar.find_event($handle, $query, $max)
Find an event.create_event($handle, $quick, $details, $title, $transparency, $status, $location, $start, $end)
Create a new event.delete_event($handle, $id, $etag)
Delete an event.update_event($handle, $id, $etag, $json)
Update an event.
For more details, look in the vendor/gcalendar.php
file to view the code.