Gmail 联系人 API [英] Gmail Contact api

查看:52
本文介绍了Gmail 联系人 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的应用程序,我需要导入 Gmail 地址簿,我可以按照Gmail Contact API"进行操作.

For my application I need to import the Gmail Address book, which I am able to do by following "Gmail Contact API".

最近 Gmail 添加了一些不属于 xml 的新字段(即生日、网站等).gmail api 文档提到新添加的字段是 XML 命名空间的一部分 http://schemas.google.com/contact/2008,但我无法弄清楚如何使用我能够提取的名称空间获取新字段.

Recently Gmail added some of the new fields(i.e. Birthday,Website etc) which are not the part of xml. The gmail api docs mention that the new added field is part of XML namespace http://schemas.google.com/contact/2008, but I am unable to figure it out that how to fetch new fields using this name space which I am able to extract.

http://code.google.com/apis/联系人/docs/3.0/reference.html#gContactNamespace

推荐答案

我不确定您遇到的问题是什么.您链接到包含有关新 API 结构的所有信息的页面.一切都和以前一样.如果您想获取这些新字段,您所要做的就是将新字段添加到您的调用中.以下是新字段的所有名称:替代文字 http://www.m1cr0sux0r.com/newFields.png

I'm not certain what the problem you are having is. You linked to the page that contains all the information on the new API structure. Everything is the same as before. If you want to fetch these new fields, all you have to do is add the new fields to your calls. Below are all the names of the new fields: alt text http://www.m1cr0sux0r.com/newFields.png

这篇关于Gmail 联系人 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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