1WWW::Google::Contacts::UGsreorupCLoinsttr(i3b)uted PerlWDWoWc:u:mGeonotgaltei:o:nContacts::GroupList(3)
2
3
4
6 use WWW::Google::Contacts;
7
8 my $google = WWW::Google::Contacts->new( username => "your.username", password => "your.password" );
9
10 my $groups = $google->groups;
11
12 while ( my $gr = $groups->next ) {
13 print "You got a contact group called " . $gr->title . "\n";
14 }
15
17 $groups->next
18 Returns the next WWW::Google::Contacts::Group object
19
20 $groups->search( $args )
21 WARNING This is quite slow at the moment, at least if you've got a lot
22 of contacts.
23
24 Given search criteria, will return all your contacts that matches
25 critera.
26
27 my @spam_groups = $groups->search({
28 title => "Spam",
29 });
30
31 TODO: Speed up. Make search arguments more flexible ( AND / OR / Regex
32 / ... ).
33
35 Magnus Erixzon <magnus@erixzon.com>
36
38 This software is copyright (c) 2010 by Magnus Erixzon / Fayland Lam.
39
40 This is free software; you can redistribute it and/or modify it under
41 the same terms as perl itself.
42
43
44
45perl v5.32.0 2020-07-28WWW::Google::Contacts::GroupList(3)