amykyta3 / sheets2contacts

Update Google contacts using a Google sheets document

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sheets2contacts

Update Google contacts using a Google sheets document

Installing Dependencies

sudo pip2 install gdata google-api-python-client
sudo apt-get install python-httplib2 python-oauth2client

Set up Google App

Sync!

Example source address book: https://docs.google.com/spreadsheets/d/16E0UPFYSgJK18hsiwfHgr27c0suVjR0ilYO9PjKpx18/edit?usp=sharing Sync with google contacts by:

./sheets2contacts.py --sheet <URL>
  1. For first-time run, a browser will open asking you to login to your Google account to authenticate access to Sheets and Contacts
  2. Contacts will get synced to your account
    • All contacts synced are placed into group "Synced with sheets2contacts", as well as other groups specified in the sheet.
    • Contacts only get deleted if they are a member of the "Synced with sheets2contacts" group.

About

Update Google contacts using a Google sheets document

License:GNU General Public License v3.0


Languages

Language:Python 100.0%