Contoh Google Docs API
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Bagian ini menyajikan serangkaian aplikasi dan utilitas contoh Docs API yang menunjukkan cara menerjemahkan tindakan Google Dokumen yang dimaksud menjadi permintaan API.
Codelab
Membuat transkrip rapat bisnis Anda menggunakan Google Dokumen & Machine Learning:
Dalam codelab ini, Anda akan mempelajari cara mengirim file audio melalui
Google Cloud Speech-to-Text API,
lalu menampilkan transkrip ke dokumen Google. Speech-to-Text API mudah digunakan dan menerapkan jaringan neural yang canggih untuk memungkinkan developer mengonversi audio menjadi teks. Selain itu, fitur ini didukung oleh Machine Learning.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-29 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-29 UTC."],[],[],null,["# Google Docs API samples\n\nThis section presents a set of Docs API sample applications and\nutilities that demonstrate how to translate an intended Google Docs action\ninto an API request.\n\n- [Output document contents as JSON with\n Docs API](/workspace/docs/api/samples/output-json): Outputs a JSON dump of\n the complete contents of a document. This can help you understand the\n structure of Docs files or troubleshoot issues.\n\n- [Extract the text from a document with\n Docs API](/workspace/docs/api/samples/extract-text): Extracts only the text\n from a document. This is especially useful for passing the text to another\n service.\n\n- [Mail merge with Docs API](/workspace/docs/api/samples/mail-merge): Mail\n merge documents from a template with data from Google Sheets or plain\n text.\n\nCodelab\n-------\n\n[Create a transcript of your business meetings using Google Docs \\& Machine\nLearning](https://codelabs.developers.google.com/codelabs/docs-ml-transcript#0):\nIn this codelab, you'll learn how to send an audio file through the [Google Cloud Speech-to-Text API](https://cloud.google.com/speech-to-text/),\nthen output the transcript to a Google document. The Speech-to-Text API is\neasy-to-use and applies a powerful neural network to enable developers to\nconvert audio to text. Plus, it's powered by Machine Learning."]]