Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/python
import gdata.contacts.service
gd_client = gdata.contacts.service.ContactsService()
gd_client.ClientLogin('username@domain.com', 'password')
query = gdata.contacts.service.ContactsQuery()
query.max_results = 500 # change for max contacts returned
feed = gd_client.GetContactsFeed(query.ToUri())
print feed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment