|
NAMEWWW::Contact::Gmail - Get contacts/addressbook from Gmail (DEPRECATED for GoogleContactsAPI) SYNOPSIS use WWW::Contact;
use Data::Dumper;
my $wc = WWW::Contact->new();
$wc->known_supplier->{'gmail.com'} = 'Gmail';
my @contacts = $wc->get_contacts('itsa@gmail.com', 'password');
my $errstr = $wc->errstr;
if ($errstr) {
die $errstr;
} else {
print Dumper(\@contacts);
}
DESCRIPTIONGet contacts from Gmail. Extends WWW::Contact::Base, replaced by WWW::Contact::GoogleContactsAPI SEE ALSOWWW::Contact, WWW::Mechanize, HTML::TokeParser::Simple AUTHORFayland Lam, "<fayland at gmail.com>" COPYRIGHT & LICENSECopyright 2008 Fayland Lam, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|