As an experiment, I thought of trying to retrieve contacts using GMail API. It was really easy. Here are the steps and requirements:
- Python 2.7 installation
- Google Data Python Library installation (run setup.py install) from https://developers.google.com/gdata/articles/python_client_lib
- Download contacts_example.py from Contacts API v3
- Create test account on GMail
- Run contacts_example.py. 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!
No comments:
Post a Comment