簡體   English   中英

通過 Google 文檔 API Python 客戶端庫創建新的 Google 文檔的命令是什么?

[英]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 文檔

創建新文檔的命令是什么?

樣本:

body = {
    'title': 'myTitle'
}
doc = service.documents().create(body=body).execute()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM