in reply to Re: Anyone know how to use the Net::Google::Calendar API?
in thread Anyone know how to use the Net::Google::Calendar API?
# pseudocode: my $parent = Net::Google::Calendar->new; $parent->login( $uname, $upass); my @cals = $parent->get_calendars; for my $cal_selected (@cals) { printf "CALENDAR: %s\n", $cal_selected->title; $parent->set_calendar( $cal ); my @e = $parent->get_events; for (@e){ printf "event title: %s, content: %s\n", $_->title, $_->content->body; } }
Yes Wistow notes 'Alpha'- that said, some reviewees state the thing 'does what they need' - so- missing this functinality- it seems odd it would be of use at all- that's why I thought maybe I was off..
I'm kinda torn about using oo this way, it's really weird.. it seems we should instance a calendar object, and *it* should have a get_events() method, no?
This other way is kind of interesting too.. passing around objects like little toys..
Thank you!!!!!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Anyone know how to use the Net::Google::Calendar API?
by frugofrog (Initiate) on Dec 30, 2010 at 11:16 UTC | |
by Anonymous Monk on May 23, 2013 at 12:55 UTC |