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
-~----------~----~----~----~------~----~------~--~---

Reply via email to