Concept : Understanding Google Calendar API

Page Status: Beta
Jump to: navigation, search

Back to Concepts and HOW TOs

Contents

[edit] Description 

The Google Calendar API is an importable Library that wraps Google Calendar functionality, and which you can use to create new events, edit or delete existing events and to query events matching a given criteria. The Bungee GoogleCalendarAPI wraps these four basic operations along with the authentication operation, in functions available in the GoogleAdapter class.

  • computeEvents([in] dateTime start, [in] dateTime end, [in] Collection(VEvent) events, [out] boolean ok) — returns a collection of VEvents for the given date range
  • createNewEvent([in] VEvent newEvent, [out] boolean ok) — creates a new event using the VEvent newEvent parameter
  • removeEvent([in] VEvent event, [out] boolean ok) — removes the VEvent event
  • updateEvent([in] VEvent event, [out] boolean ok) — updates the VEvent event
  • login([in]GoogleCredential googleCredential, [out] boolean ok) — uses username and password from GoogleCredential googleCredential to authenticate to a Google Calendar

The other functions in the GoogleAdapter class are utility functions used by the other five functions.

For detailed documentation on the Google Calendar API, see http://code.google.com/apis/calendar/.

[edit] See Also

Using Google Calendar API

[edit] Tags

    Copyright © 2005 - 2008 Bungee Labs. All rights reserved.