Net::Google::CalendarNet::Google::Calendar is a programmatic access to Google's Calendar API. | |
Download |
Net::Google::Calendar Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Simon Wistow
- Publisher web site:
- http://search.cpan.org/~simonw/
Net::Google::Calendar Tags
Net::Google::Calendar Description
Net::Google::Calendar is a programmatic access to Google's Calendar API. Net::Google::Calendar is a programmatic access to Google's Calendar API.SYNOPSIS my $cal = Net::Google::Calendar->new( url => $url ); $cal->login($u, $p); for ($cal->get_events()) { print $_->title."n"; print $_->content->body."n*****nn"; } my $entry = Net::Google::Calendar::Entry->new(); $entry->title($title); $entry->content("My content"); $entry->location('London, England'); $entry->transparency('transparent'); $entry->status('confirmed'); $entry->when(DateTime->now, DateTime->now() + DateTime::Duration->new( hours => 6 ) ); my $author = Net::Google::Calendar::Person->new(); $author->name('Foo Bar'); $author->email('foo@bar.com'); $entry->author($author); my $tmp = $cal->add_entry($entry); die "Couldn't add event: $@n" unless defined $tmp; print "Events=".scalar($cal->get_events())."n"; $tmp->content('Updated'); $cal->update_entry($tmp) || die "Couldn't update ".$tmp->id.": $@n"; $cal->delete_entry($tmp) || die "Couldn't delete ".$tmp->id.": $@n";Requirements:· Perl Requirements: · Perl
Net::Google::Calendar Related Software