以编程方式访问 google-sheets-api 'Insert Note' 笔记

programmatic access to google-sheets-api 'Insert Note' notes

给定一个 Google 表格文档,是否有任何方法可以在 Google 表格网络界面中以编程方式访问 'Insert Note' 生成的笔记?

我在 Python v4 API 文档中进行了搜索,但在任何地方都找不到对 'note' 的引用:

https://developers.google.com/apis-explorer/#p/sheets/v4/

如果有办法通过 google 应用程序脚本来完成,我想知道 Linux 中的命令行如何 运行 这样的脚本。

您可以使用 spreadsheets.get

您的 notes 将在

sheets[].data[].rowData[].values[].note

在响应正文中。

字段掩码:

sheets(data(rowData(values(note))))

API Explorer demo