问题描述
我正在使用 Google People API。
我想知道可以从 https://people.googleapis.com/v1/contactGroups/myContacts
检索的联系人集是否严格来说是可以从 https://people.googleapis.com/v1/people/me/connections
检索的联系人集的子集。
请让我知道这是否可以保证。
解决方法
是的,应该是这样。
前者确实会返回某个组下的所有联系人。使用 myContacts
将返回您的所有联系人。
后者也会返回您的所有联系人。
您可以要求其他人执行以下链接以进行确认并回复您。
https://people.googleapis.com/v1/contactGroups/myContacts https://people.googleapis.com/v1/people/me/connections