WWW::Contact::Gmail - Get contacts/addressbook from Gmail (DEPRECATED for
GoogleContactsAPI)
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);
}
Get contacts from Gmail. Extends WWW::Contact::Base, replaced by
WWW::Contact::GoogleContactsAPI
WWW::Contact, WWW::Mechanize, HTML::TokeParser::Simple
Fayland Lam, "<fayland at gmail.com>"
Copyright 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.