This project is merged with Gcal
.
This module allows you to manage your google calendars. Apis provided by module will allow you to create, update, delete, fetch calendar details. You can also create, update, delete, get, move an event from particular calendar. You can fetch calendar settings, color details, etc.
This module uses google api php client refer http://code.google.com/p/google-api-php-client/ to interact with google and manage calendars
Requirements
Google OAuth2 - Required for authenticating with google.
Api Functions
Create Calendar
$params = array(
'Summary' => 'My Calendar', //Title of the calendar
);
google_calendar_calendar_create($params, 'Calendar_Account'); //Calendar_Account is the name of the oauth2 account managed with the help of Google OAuth2.
Create Event
$params = array(
'Summary' => 'My Event', //Title of the event
'Start' => '2012-12-24 12:30:00',
'End' => '2012-12-24 14:30:00',
'Timezone' => 'Asia/Calcutta'
);
google_calendar_event_create($params, 'Calendar_Account'); //Calendar_Account is the name of the oauth2 account managed with the help of Google OAuth2.