SYNOPSIS
use WWW::Google::Contacts;
my $google = WWW::Google::Contacts->new( username => "your.username", password => "your.password" );
my $groups = $google->groups;
while ( my $gr = $groups->next ) {
print "You got a contact group called " . $gr->title . "\n";
}
METHODS
$groups->next
Returns the next WWW::Google::Contacts::Group object
$groups->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 @spam_groups = $groups->search({
title => "Spam",
});
TODO: Speed up. Make search arguments more flexible ( AND / OR / Regex / ... ).
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.