Google通讯录Api获取特定群组中的联系人。 (我的联系人组) [英] Google Contacts Api Getting contacts in a certain group. (The my contacts group)

查看:97
本文介绍了Google通讯录Api获取特定群组中的联系人。 (我的联系人组)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我可以通过以下方式获取所有联系人:

So I can get all my contacts with this:

https://www.google.com/m8/feeds/contacts/default/full?access_token=mytoken&alt=json&v=3

所有我的与此相关的群组:

And all my groups with this:

https://www.google.com/m8/feeds/groups/default/full?access_token=myToken&alt=json&v=3    

我可以获得myContacts的实际联系人组有这个:

And I can get the actual contact group for "myContacts" with this:

https://www.google.com/m8/feeds/groups/default/base/6?access_token=mytoken&alt=json&v=3

但我怎样才能获得所有联系人在myContacts组中?上一个查询只是给了我实际的组。

推荐答案

您可以使用以下URI来获取特定群组的联系人。

You can use the below URI in order to get the contacts of a specific group.

href =http://www.google.com/feeds/contacts/groups/userEmail/base/ 1234b/

有关参考和更多信息,请查看Google Contacts API的文档使用查询参数检索联系人部分中的.com / google-apps / contacts / v3 /#retrievalving_contacts_using_query_parametersrel =nofollow>此处

For reference and more information check the documentation of the Google Contacts API here in the Retrieving contacts using query parameters section.

列出了您可能使用的查询参数(包括课程组)此处 通讯录查询参数参考

The query parameters (including the group of course) that you may use are listed here in the Contacts query parameters reference.

这篇关于Google通讯录Api获取特定群组中的联系人。 (我的联系人组)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆