【发布时间】:2016-02-08 11:19:29
【问题描述】:
我使用了这个 api - https://www.google.com/m8/feeds/contacts/{userEmail}/full 但是这个 api 只会让你的朋友成为联系人。我想收到建议的邮件,例如下面的 SS。
我将在 ios 应用中使用。
【问题讨论】:
标签: ios swift google-api gmail gmail-api
我使用了这个 api - https://www.google.com/m8/feeds/contacts/{userEmail}/full 但是这个 api 只会让你的朋友成为联系人。我想收到建议的邮件,例如下面的 SS。
我将在 ios 应用中使用。
【问题讨论】:
标签: ios swift google-api gmail gmail-api
gAuth.callAPI("https://www.google.com/m8/feeds/contacts/default/full?start-index=1&max-results=2500&alt=json", withHttpMethod: httpMethod_GET, postParameterValues: nil)
max-results 由您决定。
或
变量 i=1;
gAuth.callAPI("https://www.google.com/m8/feeds/contacts/default/full?start-index=\(i)&max-results=2500&alt=json", withHttpMethod: httpMethod_GET, postParameterValues: nil)
每次重复你应该在 i 上加 25 -> i += 25;
【讨论】: