This section presents a set of Docs API sample applications and utilities that demonstrate how to translate an intended Google Docs action into an API request.
Output document contents as JSON with Docs API: Outputs a JSON dump of the complete contents of a document. This can help you understand the structure of Docs files or troubleshoot issues.
Extract the text from a document with Docs API: Extracts only the text from a document. This is especially useful for passing the text to another service.
Mail merge with Docs API: Mail merge documents from a template with data from Google Sheets or plain text.
Codelab
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 a powerful neural network to enable developers to convert audio to text. Plus, it's powered by Machine Learning.