I`m quite a Google fan and enjoying playing with their APIs. For me one of the big attractions of Google is the quality and availability of the APIs.
Below is a bit of code that fetches the postal address of a contact from your Google contacts. It took me ages to figure out so I hope posting it here will cut down the learning curve and yes I`m aware its only a simple thing :).
The following has been lifted straight from a interpreted session so fire up Python first and paste the below in remembering to change the username and password.
import atom import gdata.contacts import gdata.contacts.service from lxml import etree gd_client = gdata.contacts.service.ContactsService() gd_client.email = 'email@example.com' gd_client.password = 'password' gd_client.source = 'exampleCo-exampleApp-1' gd_client.ProgrammaticLogin() feed = gd_client.GetContactsFeed() entry = feed.entry entry entry.postal_address.text '123 Fake Street'