google-sheets - 限制谷歌电子表格/表单列表提要的结果集大小

标签 google-sheets google-spreadsheet-api

我想使用基于列表的查询界面来搜索 google 电子表格/表单,但想确保我返回的行数限制在指定的最大值内。有办法做到这一点吗?

谢谢。

汤姆。

最佳答案

有一个查询参数 max-results 可以限制列表提要返回的行数。

https://spreadsheets.google.com/feeds/list/key/worksheetId/private/full?max-results=10

但并非所有客户端库都支持它。

关于google-sheets - 限制谷歌电子表格/表单列表提要的结果集大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11361956/

相关文章:

regex - 有没有办法从 Google 表格中的多行中查找并删除日期时间?

google-drive-api - 如何集成 Google Drive 和 Spreadsheet API,以处理特定 Google Drive 文件夹中的电子表格?

javascript - Google Docs 电子表格到 JSON

php - 使用 PHP 写入 Google Docs 电子表格

pdf - 在Apps脚本中将单页导出为PDF

google-sheets - Google 表格小于或等于 (<=) 提供错误结果

google-sheets - 谷歌表格: Get max value and corresponding values from other columns in a query function

javascript - 如何使用粗体文本通过电子邮件发送谷歌表单数据

c# - Google Sheets API,在 C# 中为用户获取电子表格

google-apps-script - GmailApp.sendEmail 'from' 选项停止工作