How can I get the plain-text content of a Google Doc via Google Doc API in Silverlight?
- by Edward Tanguay
I would like to use the Google Doc API to retrieve the plain-text content of a Google Doc document (not a spreadsheet) via the Google Docs API.
In the documentation I can find information about accessing Spreadsheets and how to "create/upload/copy" documents:
http://code.google.com/apis/documents/overview.html
Does anyone have a C# code example to do this in Silverlight, something like this:
//PSEUDOCODE:
WebClientGoogleDoc proxy = new WebClientGoogleDoc ();
proxy.DownloadStringCompleted += new DownloadStringCompletedEventHandler(proxy_DownloadStringCompleted);
proxy.DownloadProgressChanged += new DownloadProgressChangedEventHandler(proxy_DownloadProgressChanged);
proxy.DownloadStringAsyncWithGoogleDocId("dc7gj86r_20dn2csqg3");