如何从 gmail api 获取建议/自动完成的电子邮件?
How to get suggested / autocomplete emails from gmail api?
我用过这个api -
https://www.google.com/m8/feeds/contacts/{userEmail}/已满
但是这个 api 只能让你的朋友联系。我想获得建议的邮件,例如下面的 SS。
我会在ios应用中使用
gAuth.callAPI("https://www.google.com/m8/feeds/contacts/default/full?start-index=1&max-results=2500&alt=json", withHttpMethod: httpMethod_GET, postParameterValues: nil)
最大结果限制由您决定。
或
var 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;
我用过这个api - https://www.google.com/m8/feeds/contacts/{userEmail}/已满 但是这个 api 只能让你的朋友联系。我想获得建议的邮件,例如下面的 SS。
我会在ios应用中使用
gAuth.callAPI("https://www.google.com/m8/feeds/contacts/default/full?start-index=1&max-results=2500&alt=json", withHttpMethod: httpMethod_GET, postParameterValues: nil)
最大结果限制由您决定。
或
var 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;