Get the Contacts in Category wise.

12 views
Skip to first unread message

ravi.cyb...@gmail.com

unread,
Dec 24, 2008, 6:15:22 AM12/24/08
to Google Contacts API
Hi

I am Using zend framework to access Google Contact API.
When I do this query (http://www.google.com/m8/feeds/contacts/
$GoogleContactsEmail/full)
I got all Contacts list. Actually I want the contacts in category wise
such as "Friends", "Family"
and "Coworkers".

I have used 'http://www.google.com/m8/feeds/groups/
$GoogleContactsEmail/full' query also.
It could able to get the only customized groups.

Any Idea?

Julian (Google)

unread,
Jan 6, 2009, 11:39:49 AM1/6/09
to Google Contacts API
Hi,

It is possible to query each group, you need to use the Version 2 of
the Contacts API, get the groups IDs and use the groups query
parameter.

Steps to migrate your requests to V2:
http://code.google.com/apis/contacts/docs/2.0/migration_guide.html#Protocol

Information about group elements:
http://code.google.com/apis/contacts/docs/2.0/reference.html#GroupElements

URL example to query a group using its group ID:
http://www.google.com/m8/feeds/contacts/user\%40domain.com/full?group=http://www.google.com/m8/feeds/groups/user\%40domain.com/base/6

Cheers,
Julian

On Dec 24 2008, 11:15 am, "ravi.cybertec...@gmail.com"
> It could able togetthe only customized groups.
>
> Any Idea?
Reply all
Reply to author
Forward
0 new messages