1WWW::Google::Contacts::UGsreorupC(o3n)tributed Perl DocuWmWeWn:t:aGtoioognle::Contacts::Group(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 $group = $google->new_group;
11 $group->title("Lovers");
12
14 $group->create
15 Writes the group to your Google account.
16
17 $group->retrieve
18 Fetches group details from Google account.
19
20 $group->update
21 Updates existing group in your Google account.
22
23 $group->delete
24 Deletes group from your Google account.
25
26 $group->create_or_update
27 Creates or updates group, depending on if it already exists
28
30 All these attributes are gettable and settable on Group objects.
31
32 title
33 The title of the group
34
35 $group->title("People I'm only 'friends' with because of the damn Facebook");
36
37 member
38 An array of members of the group
39
40 foreach my $member (@{ $group->member }) {
41 print $member->full_name . " is a member of the group.\n";
42 }
43
45 Magnus Erixzon <magnus@erixzon.com>
46
48 This software is copyright (c) 2010 by Magnus Erixzon / Fayland Lam.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as perl itself.
52
53
54
55perl v5.32.1 2021-01-27 WWW::Google::Contacts::Group(3)