WWW::Google::Notebook - Perl interface for Google Notebook
use WWW::Google::Notebook; my $google = WWW::Google::Notebook->new( username => $username, password => $password, ); $google->login; my $notebooks = $google->notebooks; # WWW::Google::Notebook::Notebook object as arrayref for my $notebook (@$notebooks) { print $notebook->title, "\n"; my $notes = $notebook->notes; # WWW::Google::Notebook::Note object as arrayref for my $note (@$notes) { print $note->content, "\n"; } } my $notebook = $google->add_notebook('title'); # WWW::Google::Notebook::Notebook object print $notebook->title; $notebook->rename('title2'); my $note = $notebook->add_note('note'); # WWW::Google::Notebook::Note object print $note->content; $note->edit('note2'); $note->delete; $notebook->delete;
This module priovides you an Object Oriented interface for Google Notebook, using unofficial API.
Returns an instance of this module.
Login to Google.
Returns your notebooks as WWW::Google::Notebook::Notebook objects.
Adds notebook. Returns a created notebook as WWW::Google::Notebook::Notebook object.
Jiro Nishiguchi <jiro@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://www.google.com/notebook/
To install WWW::Google::Notebook, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Google::Notebook
CPAN shell
perl -MCPAN -e shell install WWW::Google::Notebook
For more information on module installation, please visit the detailed CPAN module installation guide.