[英]Creating New Tabs via Python in Google Sheets using Google API
[英]What are the commands for creating a new Google Document via the Google Docs API Python Client Library?
我想使用 Google Docs API Python 客戶端庫 ( https://github.com/googleapis/google-api-client ) 從命令行創建一個新的 Google 文檔
創建新文檔的命令是什么?
要使用 Google Docs API 創建新文檔,請使用方法:documents.create
此方法在 Python 中的實現在Google Docs API PyDoc 文檔中有特色
樣本:
body = {
'title': 'myTitle'
}
doc = service.documents().create(body=body).execute()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.