Take the text of the document from a public Google Drive document and display it on the website

I just had the idea that my website displays the public content of a Google Drive document. I was hoping it would be easy, as I was going to extract plain text and the document would be publicly available, so no authentication fraud would prevent me.

I looked at the Google REST API , but it turns out I can only get file metadata and / or the entire document file. Not only the contents of the document.

I don’t want to spend the daytime encoding to do this, I thought it would be nice to have, but can live with just a link to a file directly from my website. Has anyone tried this before? Has anyone experimented with the Google Drive API and felt how much work will be involved?

+3
source share
1 answer

If you are thinking of getting the contents of your own Google document (such as a Google spreadsheet or Google document), this is currently possible using the Drive APIs.

API- Drive Google "exportLinks" . URL- Google (, RTF, , HTML, PDF ..). ...

: https://developers.google.com/drive/manage-downloads#downloading_google_documents

+3

All Articles