This section presents a set of sample applications and utilities that demonstrate how to translate an intended Docs action into an API request.
- Output document contents as JSON: Outputs a JSON dump of the complete contents of a document—this can help you understand the structure of Google Docs files or troubleshoot issues.
- Extract the text from a Document: Extracts only the text from a document—this is especially useful for passing the text to another service.
- Mail merge: Mail merge documents from a template with data from a Google Sheet or plain text.
Codelabs
- Create a transcript of your business meetings using Google Docs & Machine Learning: In this codelab, you'll learn how to send an audio file through the Google Cloud Speech-to-Text API, then output the transcript to a Google Document. The Speech-to-Text API is easy-to-use, and applies powerful neural network to enable developers to turn audio to text! Plus, it's powered by Machine Learning.