in reply to Anyone know how to use the Net::Google::Calendar API?
Update2: Just noticed that Simon Wistow still considers this module to be Alpha... could well be that get_events simply doesn't work properly yet...my @calendars = $cal->get_calendars; my ($c) = grep { $_->title =~ m!default!i } $cal->get_calendars; #die "Couldn't get cal\n" unless defined $c; $c = $calendars[0]; $cal->set_calendar($c); if (!@ARGV) { print "Getting events\n"; for ($cal->get_events()) { #print Dumper $_->as_xml; #next; print $_->title."\n"; print $_->id."\n"; my ($start, $finish) = $_->when(); print "${start}-${finish}\n"; #print $_->content->body; print "\n*****\n\n"; } exit; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Anyone know how to use the Net::Google::Calendar API?
by leocharre (Priest) on Dec 09, 2009 at 15:13 UTC | |
by frugofrog (Initiate) on Dec 30, 2010 at 11:16 UTC | |
by Anonymous Monk on May 23, 2013 at 12:55 UTC |