Google Contacts API仍然可用吗? [英] Is Google Contacts API still available?

查看:79
本文介绍了Google Contacts API仍然可用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google的People API来获取与我在Google中的联系人相关联的联系人.但是,正如其他地方所指出的那样,API无法访问 https://上可用的其他联系人". contact.google.com/other .

I am using Google's People API to fetch contacts associated with my contacts in Google. However, as has been pointed out elsewhere, that API does not access "Other contacts" which are available at https://contacts.google.com/other.

我正在寻找一种API,该API将允许我访问该数据.我按照 https://developers.google.com/contacts/v3/上的说明尝试了Contacts API. 其中表示:

I'm looking for an API that will allow me to access that data. I tried the Contacts API per the instructions at https://developers.google.com/contacts/v3/ which says:

要检索用户的所有联系人,请发送授权的GET请求 到以下网址:

To retrieve all of a user's contacts, send an authorized GET request to the following URL:

https://www.google.com/m8/feeds/contacts/ {userEmail}/完整

https://www.google.com/m8/feeds/contacts/{userEmail}/full

我尝试了一下,用自己的替换了{useremail},但只有一个错误.我已登录我的Google帐户.

I tried this, replacing {useremail} with my own but only got an error. I am logged into my Google account.

Contacts API仍然可用吗?

Is the Contacts API still available?

推荐答案

我通过使用一些代码发送带有api机密的授权请求来使其工作.

I got it working by using some code to send an authorized request with api secret.

这篇关于Google Contacts API仍然可用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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