Reputation: 43
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?
Upvotes: 2
Views: 2361
Reputation: 427
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 API
Google Contact API
Google Oauth2
Authorized redirect URIs
the domain must be added to the authorized domains list before submitting.Action you can do after getting Google Contact access.
NOTE: Please keep safe your Client_id, Secret_id and API key
Upvotes: 3