NAME
WWW::Google::Notebook - Perl interface for Google Notebook
SYNOPSIS
my
= WWW::Google::Notebook->new(
username
=>
$username
,
password
=>
$password
,
);
->login;
my
$notebooks
=
->notebooks;
# WWW::Google::Notebook::Notebook object as arrayref
for
my
$notebook
(
@$notebooks
) {
$notebook
->title,
"\n"
;
my
$notes
=
$notebook
->notes;
# WWW::Google::Notebook::Note object as arrayref
for
my
$note
(
@$notes
) {
$note
->content,
"\n"
;
}
}
my
$notebook
=
->add_notebook(
'title'
);
# WWW::Google::Notebook::Notebook object
$notebook
->title;
$notebook
->
rename
(
'title2'
);
my
$note
=
$notebook
->add_note(
'note'
);
# WWW::Google::Notebook::Note object
$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
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.