How can I get the plain-text content of a Google Doc via Google Doc API in Silverlight?

Posted by Edward Tanguay on Stack Overflow See other posts from Stack Overflow or by Edward Tanguay
Published on 2010-06-17T04:15:32Z Indexed on 2010/06/17 8:03 UTC
Read the original article Hit count: 298

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");

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight