Hi, I also have this problem, so do you mean that we cannot access public docs without giving user credentials via the API ? .. because, we can access it through the browser even when a user is not logged in.
Thanks in advance, Anjana. On Sep 22, 10:16 am, "Bill H." <bhaye...@gmail.com> wrote: > A ClientLogin or ProgramamticLogin is required before you > can access even public docs. > The Google spreadsheet example is pretty good. > Regards, > Bill Hayes > > On Sep 21, 5:17 pm, yanng <ygib...@gmail.com> wrote: > > > I created a public spreadsheet. Here is the url: > > >http://spreadsheets.google.com/ccc?key=0AvfttPfmmd_ydDlLYWFVcENaLVp3N... > > > I am trying to use the Google Docs Data API to access it, without > > setting the credentials, and it fails: > > This is the code I'm using: > > > service = new SpreadsheetsService("Test"); > > > WorksheetQuery query = new WorksheetQuery > > ("0AvfttPfmmd_ydDlLYWFVcENaLVp3NGVJMzJJdFBvdGc", "public", "full"); > > //query.Uri = new Uri("http://spreadsheets.google.com/ccc? > > key=0AvfttPfmmd_ydDlLYWFVcENaLVp3NGVJMzJJdFBvdGc&hl=en"); > > > WorksheetFeed feed = service.Query(query); > > > And the program fails on the last line of code. > > What am I doing wrong? > > > Thanks for your help> -- 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-a...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-docs-data-apis?hl=en.