Gmail的联系人API [英] Gmail Contact api

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

问题描述

有关我的应用程序需要导入Gmail地址簿,这我能够按照Gmail的联系人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.

<一个href=\"http://$c$c.google.com/apis/contacts/docs/3.0/reference.html#gContactNamespace\">http://$c$c.google.com/apis/contacts/docs/3.0/reference.html#gContactNamespace

推荐答案

我不能确定你所遇到的问题是什么。您链接到包含在新的API结构中的所有信息的页面。一切都和以前一样。如果你想获取这些新的领域,你需要做的就是添加新的字段您的来电。下面是新领域的所有名称:

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:

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

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