Skip to content

Instantly share code, notes, and snippets.

@jaytheletterj
jaytheletterj / updateMobile.py
Created June 19, 2013 00:08
python script to update a mobile phone number with the Google Admin SDK, specifically the Directory API
#!/usr/bin/python
import httplib2
from apiclient.discovery import build
from oauth2client.client import OAuth2WebServerFlow
from oauth2client.file import Storage
from oauth2client.tools import run
from apiclient.errors import HttpError