I created a public spreadsheet. Here is the url:

http://spreadsheets.google.com/ccc?key=0AvfttPfmmd_ydDlLYWFVcENaLVp3NGVJMzJJdFBvdGc&hl=en

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