Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

How to update a particular event in google using Net::Google::Calendar ?

by elavarasan (Acolyte)
on May 23, 2013 at 09:19 UTC ( #1034915=perlquestion: print w/replies, xml ) Need Help??
elavarasan has asked for the wisdom of the Perl Monks concerning the following question:

Hai i am accessing google calendar by Net::Google::Calendar, in this i have readed all the events successfully and i need to update/edit the events, but i don't know how to edit a particular event, please help me
My code is:

use Net::Google::Calendar; my $cal = Net::Google::Calendar->new( url => $non_default_url ); my $username=''; my $password='xxxxxxxx'; $cal->login($username, $password); # or $cal->auth($username, $auth_token) obviously for ($cal->get_events()) { my ($start, $finish) = $_->when(); print "Start Time:${start}\n"; print "End Time:${finish}\n\n"; print $_->title."\n"; print $_->content->body; print $_->location; print "\n*****************************************************\n\n"; print $_->id."\n\n"; }

Thanks in advance

  • Comment on How to update a particular event in google using Net::Google::Calendar ?
  • Download Code

Replies are listed 'Best First'.
Re: How to update a particular event in google using Net::Google::Calendar ?
by ww (Archbishop) on May 23, 2013 at 10:17 UTC

      just i dont know how to use update_entry() function

        ... and that's why you should read the document. It will show you!

        If you didn't program your executable by toggling in binary, it wasn't really programming!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034915]
Approved by Corion
[Discipulus]: oh thanks, i'm always at well as the ratchet or bucket
[Corion]: But I'm slowly starting to get into programming again - yesterday I translated my talk for YAPC::E (in Amsterdam) to English, and decided to put my Jekyll-clone to rest for the time being
[Corion]: Discipulus++ # being well is like being earnest
[marto]: hopefully next year I'll be in a position to go to Perly things in Europe :)
[Corion]: Maybe I'll use the Real Jekyll a bit to get a feel for how it actually works, and to get annoyed by it ;)
[Corion]: marto: That would be cool :) There is no kids care at Perly events unfortunately, so it's not entirely family friendly
[Corion]: I think I should define a set of (say) five projects through which I rotate from time to time, just to prevent myself from being bored/annoyed by the problems they get stuck in ;)
[marto]: Corion, not bringing the kids would make it ideal :P
[marto]: a suggestion, have one project in the list that isn't programming/perl related
[Corion]: marto: Yeah, things are more parent-friendly the way they are ;))

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-07-27 07:41 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (404 votes). Check out past polls.