Hello Daniel,

To get the group name, you will have to send a request either to the 
targeted group link, or to the user's group list:
  
http://code.google.com/apis/contacts/docs/3.0/developers_guide_python.html#retrieving_group_without_query

I would suggest first getting all of the user's groups and storing those in 
a hash table keyed by the group's ID. After that, you will be able to get 
the group name by doing something similar to this:

[CODE]
# Show the contact groups that this contact is a member of.
      for group in entry.group_membership_info:
        print '    Member of group: %s' % (groups[group.href].title.text)
[/CODE]

Also, don't forget to check for errors.
I hope this helped!

Best,
Alain


-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to