NAME

WWW::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);
}

DESCRIPTION

Get contacts from Gmail. Extends WWW::Contact::Base, replaced by WWW::Contact::GoogleContactsAPI

SEE ALSO

WWW::Contact, WWW::Mechanize, HTML::TokeParser::Simple

AUTHOR

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

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.