views:

21

answers:

0

Hello I am trying to find out how to get the title of groups the contact belongs to. This is how I am getting my other contact information:

query = gdata.contacts.service.ContactsQuery()
query['showdeleted'] = 'true'
query.updated_min = str(lastKnownTime)
query.max_results = 5000

feed = gd_client.GetContactsFeed(query.ToUri())
insertCounter=0`
for contact in feed.entry:
    if contact.birthday:
        print 'Birthday: %s' % (contact.birthday.when)
        birthday=contact.birthday.when

Something like that. Any ideas?