Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Anyone know how to use the Net::Google::Calendar API?

by leocharre (Priest)
on Dec 09, 2009 at 15:13 UTC ( #811940=note: print w/ replies, xml ) Need Help??


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?

Aha! Guess what! That was it... Have to call set_calendar()..

# 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!!!!!!


Comment on Re^2: Anyone know how to use the Net::Google::Calendar API?
Download Code
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
    Hi

    Does anyone know how to create and save a new Calendar using this module? I know it's doable
    http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#CreatingCalendars
    I have no clue how to achieve it with the API :(.

    thanks for any suggestions

      in this how to update or edit a particular event

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://811940]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2015-07-07 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls