How about using this API?
developers.google.com/google-apps/documents-list
It seems to be able to access the revision history feed.
But the examples are in .NET. How do I apply/use this API in Google Apps Script? Anyone knows how and can shed some light? Maybe a short sample code?
Thanks.
You need to look on the protocol for DocLists API. You can use this protocol alongwith URLFetch and Google oAuth Here is a quick example, which returns the revision history in json format
To play more with DocsList API, you can see some more example on my Google Site https://sites.google.com/site/appsscripttutorial/urlfetch-and-oauth
Check out: https://sites.google.com/site/scriptsexamples/custom-methods/driveservice Just copy the source into your file.
I will be adding the missing methods in the next few weeks. Revisions are certainly on my list.
You will be able to use these libraries like: DOCS_LIST_API.GdocToFormat (docID, format)
No need to setup OAuth, it will be built in.