Zooly
Zooly

Reputation: 4787

How to get Google contact labels?

I'm using this API to get user's contacts. I would get the label associated to a contact, but I can't find it in the documentation. I'm not talking about label property, like <gContact:relation label="drinking buddy">Marvin</gContact:relation> but this kind of label :

Label Image

If someone could tell me where to find this label.

Upvotes: 2

Views: 2514

Answers (1)

Blake O&#39;Hare
Blake O&#39;Hare

Reputation: 1880

"Labels" = "Contact Groups"

Call the groups feed (https://www.google.com/m8/feeds/groups/default/full?v=3) and then match the group ID's to the gContact:groupMemershipInfo from the contacts.

Upvotes: 8

Related Questions