I'm trying out the basic Google Data API examples within my AppEngine
application. I had a couple questions

1) I tried a simple example of requesting a list of a user's documents
from within a simple python script on my computer, like this:

      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('userxxx', 'passxxx')

      # 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

When I do this, will the traffic for this be encrypted or cleartext
over the internet? How about when/if I do it within the context of an
app in the AppEngine? If not, how do I make it secure/encrypted? (I
know that the password here is sent cleartext. What I'm interested in
knowing is if the reply from Google, containing the data about the
docs, is cleartext or not).

2) How do I port this code into my app? I tried adding the first line
of code into a working app on AppEngine, and get:
   NameError: global name 'gdata' is not defined

  If I try to add "import gdata.docs.service, then I get the error:

  The server encountered an error and could not complete your request.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to