Complete the steps described in the Google Calendar Python Quickstart, and in about five minutes you'll have a simple Python command-line application that makes requests to the Google Calendar API.
pip install --upgrade google-api-python-client oauth2client
python quickstart.py