Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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='xxxxx@gmail.com'; 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 (Bishop) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034915]
Approved by Corion
help
Chatterbox?
[karlgoethebier]: I'll take that right hand road...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-03-23 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (294 votes). Check out past polls.