在 Google 传播 sheet 中从另一个 sheet 获取 JSON

Get JSON from another sheet in Google Spreadsheet

我已经知道我可以用这种格式得到默认的sheet url https://spreadsheets.google.com/feeds/list/mysheetid/od6/public/basic?alt=json

我看到当我切换到另一个 sheet 时,基本上 google 传播 sheet 只需在编辑时添加 gid=1234

所以我做到了 https://spreadsheets.google.com/feeds/list/mysheetid/od6/public/basic?alt=json&gid=1234但我还是拿到了第一个sheet。

正确的做法是什么?

场景:

特定点差sheet 已通过 link 提供。一个 spreadsheet 文档中有两个 sheet。

将第一个 sheet 的 od6 替换为 1,第二个 sheet 的替换为 2,依此类推。喜欢:

https://spreadsheets.google.com/feeds/list/mysheetid/2/public/basic?alt=json