How to retrieve contact by email with google api.

2019-02-21 04:49发布

I'm retrieving contacts with

https://www.google.com/m8/feeds/contacts/default/full/(optional contactId)

But I need to fetch contacts by email instead of id.

Is there a way to to this? I have tried to solve this problem for a time now and can't find any help in the documentation..

I have been searching for an answer here:

https://developers.google.com/google-apps/contacts/v3/#retrieving_contacts_using_query_parameters

1条回答
\"骚年 ilove
2楼-- · 2019-02-21 05:17

Probably you have the answer already but in case your still looking :

$query = new Zend_Gdata_Query('http://www.google.com/m8/feeds/contacts/default/full?q='.$Number);

where $Number can be any part of the contact (email , address or phone number )

查看更多
登录 后发表回答