Sunday, June 23, 2013

Retrieve contacts with Google Contacts API (Python)

I recently registered an account on codecademy. It was so fun that I completed all Python courses in one day! They also have a course for Python API which I also completed.

Codeacademy badges

As an experiment, I thought of trying to retrieve contacts using GMail API. It was really easy. Here are the steps and requirements:
  1. Python 2.7 installation
  2. Google Data Python Library installation (run install) from
  3. Download from Contacts API v3
  4. Create test account on GMail
  5. Run You will be prompted for username and password.

As a last step you wil want to customize the script to fit your needs. Have fun!