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>
<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.
To install WWW::Contact, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Contact
CPAN shell
perl -MCPAN -e shell install WWW::Contact
For more information on module installation, please visit the detailed CPAN module installation guide.