Google Data APIを使ってみる

Google Data APIをインポート
script type="text/javascript" src="http://www.google.com/jsapi">/script

・sample


google.load('gdata', '2.x');

var scope = "http://www.google.com/calendar/feeds/";

function login() {
var token = google.accounts.user.login(scope);
}

var calendarService = new google.gdata.calendar.CalendarService('myCalendar_loadCalendars');
calendarService.getAllCalendarsFeed("http://www.google.com/calendar/feeds/default/allcalendars/full", callback, handleError);
function callback(result) {
var entries = result.feed.entry;
var title = entries[0].getTitle().getText();
...
}