Thanks Eric for clearing my doubt, import gdata import gdata.docs.service
q = gdata.docs.service.DocumentQuery(categories=['spreadsheet']) gd_client = gdata.docs.service.DocsService(source='yyyy-bbb-1') gd_client.ClientLogin('x...@gmail.com', 'zzzzz') feed = gd_client.Query(q.ToUri()) PrintFeed(feed) from the above code in place of yyyy i given my company name, bbb is my application name, for version 1 i given , valid gmai id and password provided and I run the application its giving me the following error *<class 'google.appengine.api.urlfetch_errors.DownloadError'>*: ApplicationError: 2 nonnumeric port: '' args = ("ApplicationError: 2 nonnumeric port: ''",) message = "ApplicationError: 2 nonnumeric port: ''" can I know what could be the problem and why it has occurred. Regards Elina j On Thu, Jul 23, 2009 at 12:04 AM, Eric Bidelman <api.e...@google.com> wrote: > source is used for logging purposes and it identifiesyour application. We > recommend using the form: > > yourCompanyName-AppName-version# > > Eric > > > On Wed, Jul 22, 2009 at 2:01 AM, Elina j <elin...@gmail.com> wrote: > >> >> Hi All, >> >> I am running simple program to Retrieving all spreadsheets in my gmail >> account >> facing some prob at line no 4, what should I have to give for source ? >> what is the use of this line and how to use this >> its ask me to write company_id-Applicationname-version >> >> I read that its optional source, But with out this its not running.. >> >> Ref: >> http://code.google.com/apis/documents/docs/1.0/developers_guide_python.html >> >> I am using Python2.6 >> >> >> 1. import gdata >> 2. import gdata.docs.service >> >> 3.q = gdata.docs.service.DocumentQuery(categories=['spreadsheet']) >> 4.gd_client = gdata.docs.service.DocsService(source='yourCo- >> yourAppName-v1') >> 5.gd_client.ClientLogin('x...@gmail.com', 'xxxx') >> 6.feed = gd_client.Query(q.ToUri()) >> 7.PrintFeed(feed) >> >> please any one help me what could be the prob. >> >> >> Regards >> Elina >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---