Return to Snippet

Revision: 10722
at January 11, 2009 02:23 by hemanthhm


Initial Code
import gdata.docs.service

# Create a client class which will make HTTP requests with Google Docs server.
client = gdata.docs.service.DocsService()
# Authenticate using your Google Docs email address and password.
client.ClientLogin('[email protected]', 'password')

# Query the server for an Atom feed containing a list of your documents.
documents_feed = client.GetDocumentListFeed()
# Loop through the feed and extract each document entry.
for document_entry in documents_feed.entry:
  # Display the title of the document on the command line.
  print document_entry.title.text

Initial URL


Initial Description
Here's a short program to print a list of all of the documents in your Google Documents account

Initial Title
Google Document list

Initial Tags
google, python

Initial Language
Python