NAME
WWW::Google::Notebook - Perl interface for Google Notebook
SYNOPSIS
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;
DESCRIPTION
This module priovides you an Object Oriented interface for Google Notebook, using unofficial API.
METHODS
new(username => $username, password => $password)
Returns an instance of this module.
login
Login to Google.
notebooks
Returns your notebooks as WWW::Google::Notebook::Notebook objects.
add_notebook($title)
Adds notebook. Returns a created notebook as WWW::Google::Notebook::Notebook object.
ACCESSOR
- username
- password
- ua
AUTHOR
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.