NAME

WWW::Google::Contacts::ContactList

VERSION

version 0.06

SYNOPSIS

use WWW::Google::Contacts;

my $google = WWW::Google::Contacts->new( username => "your.username", password => "your.password" );

my $contacts = $google->contacts;

while ( my $cont = $contacts->next ) {
   print "You got a friend called " . $cont->full_name . "\n";
}

METHODS

$contacts->next

Returns the next WWW::Google::Contacts::Contact object

$contacts->search( $args )

WARNING This is quite slow at the moment, at least if you've got a lot of contacts.

Given search criteria, will return all your contacts that matches critera.

my @bastards = $contacts->search({
   given_name => "George",
   family_name => "Bush",
});

TODO: Speed up. Make search arguments more flexible ( AND / OR / Regex / ... ). Also, doubt that search on random things like IM addresses work right now..

AUTHOR

Magnus Erixzon <magnus@erixzon.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Magnus Erixzon / Fayland Lam.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

AUTHORS

  • Fayland Lam <fayland@gmail.com>

  • Magnus Erixzon <magnus@erixzon.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Fayland Lam.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.