google-contacts-api

Python Adding contact on Google Contacts

夙愿已清 提交于 2020-01-05 04:29:11
问题 Do someone know how to add a new contact to my google account via python? I didn't find how to do it in the reference: https://developers.google.com/google-apps/contacts/v3/reference I want to add contact and I have only phone number and name. Does someone know how to do it? 回答1: I am writing down the steps and also adding some reference link, such that you will have better understanding You can use Google Oauth2 to get access to the Google Contact and need to enable Contact API and People

Google Contacts API - Accessing Other Users

一曲冷凌霜 提交于 2020-01-03 02:01:48
问题 I am trying to use the Google Contacts API and the Python / GDATA client handlers to access Contacts via OAuth 2.0 for users in the domain. I'm ultimately wanting to create a web service to add contacts for users, but the first step is getting this test working. I can access my own Contacts just fine if I use the default URI. However, when I pass in the email address to construct the URI for another user, I can't seem to access the other user's Contacts. Here is the code that I'm using:

Google Contact API V3 403 Forbidden

霸气de小男生 提交于 2020-01-02 23:04:28
问题 I am authenticating using OAuth2. Using an access token I can successfully access Calendar Lists via a Get, Calendar Events via a Post, and create a Calendar Event via a post. Every attempt to do a Get to get a Contact List fails with a 403 Forbidden. I authenticated with the following scope scope=openid%20email%20https://www.googleapis.com/auth/calendar%20https://www.google.com/m8/feeds/ And during the login, see access to contacts listed. My Get URL is https://www.google.com/m8/feeds

Google Contacts Api Getting contacts in a certain group. (The my contacts group)

大城市里の小女人 提交于 2020-01-02 10:16:15
问题 So I can get all my contacts with this: https://www.google.com/m8/feeds/contacts/default/full?access_token=mytoken&alt=json&v=3 And all my groups with this: https://www.google.com/m8/feeds/groups/default/full?access_token=myToken&alt=json&v=3 And I can get the actual contact group for "myContacts" with this: https://www.google.com/m8/feeds/groups/default/base/6?access_token=mytoken&alt=json&v=3 But how can I get all the contacts in the myContacts group? The previous query just gives me the

Google Contacts Api Getting contacts in a certain group. (The my contacts group)

倖福魔咒の 提交于 2020-01-02 10:16:11
问题 So I can get all my contacts with this: https://www.google.com/m8/feeds/contacts/default/full?access_token=mytoken&alt=json&v=3 And all my groups with this: https://www.google.com/m8/feeds/groups/default/full?access_token=myToken&alt=json&v=3 And I can get the actual contact group for "myContacts" with this: https://www.google.com/m8/feeds/groups/default/base/6?access_token=mytoken&alt=json&v=3 But how can I get all the contacts in the myContacts group? The previous query just gives me the

Google Contact API Fetch Contacts related to a Contact Group

那年仲夏 提交于 2019-12-31 05:36:14
问题 I would like to know how to get all contacts related to a group. Let's say I have a contact group named "My Special Group" and the ID is xxxxxxx.I just want to retrieve contact under the "My Special Group" only. I have already tried this Request URI and test it on oauth2 playground: https://www.google.com/m8/feeds/contacts/default/full/?group=xxxxxxx. https://www.google.com/m8/feeds/contacts/myemail%40gmail.com/full/?group=xxxxxxx. And the result is: <errors xmlns="http://schemas.google.com/g

Using google plus API is it possible to fetch gmail contacts

断了今生、忘了曾经 提交于 2019-12-30 10:36:07
问题 In my application I want to fetch my gmail contacts. In my app I have already integrated "Google+ API" So i just need to know that can i access my gmail contact by using the same API. Or I need to integrate Gmail API. Please help me I am new to this 回答1: I wouldn't imagine how you would get the contacts from one service by using another? Not everyone in your gmail contacts is going to be on your google+ account, so how would it be possible to get them? There are other ways and it is

Google Contacts API responds with “countryBlock” error

青春壹個敷衍的年華 提交于 2019-12-29 09:34:25
问题 I have an app that imports contacts from Google Contacts. The app worked fine, until this morning when we changed the API 'owner'. It was set up under my personal account for development purposes. After setting up everything, Google started responding with this: Array ( [error] => Array ( [errors] => Array ( [0] => Array ( [domain] => global [reason] => countryBlocked [message] => This service is not available from your country ) ) [code] => 403 [message] => This service is not available from

Address and Name field not working Gmail

久未见 提交于 2019-12-25 14:06:20
问题 I am using Advance REST CLIENT for testing and tested that in php code as well. here is the link I am trying to create contact at Gmail, Everything works fine but the Address is not being inserted and not even the name. Even If I use the same XML as present in the docs <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd="http://schemas.google.com/g/2005"> <atom:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#contact"/> <gd:name>

Fetching gmail contacts in iphone.?

假装没事ソ 提交于 2019-12-25 11:54:08
问题 I am a newbie in IPhone programming.I need to import my gmail contacts to my application.I was successfully done the authentication using gdata api. How i can use this api to import my gmail contacts to my application.Can anybody help me.. 回答1: Use GData for objective-c. You need to do a read-only checkout from google code, the command is - svn checkout gdata-objectivec-client.googlecode.com/svn/trunk gdata-objectivec-client-read-only check this out. for checkout instructions. Also this