电子表格数据 API

时间:2021-06-08 20:30:36

标签: javascript google-sheets google-sheets-api google-data-api

我一直在查找有关如何从 Google 表格文档访问数据的问题,我发现 this 答案为我指明了正确的方向...它链接到 Google Data API for Google Sheets,但是我很困惑我应该在哪里获取不同的数据以放入链接...

它显示了这一点:

``http://spreadsheets.google.com/feeds/feed/key/worksheet/public/basic?alt= json-in-script&callback=myFunc

但是,我不知道从哪里获得 keyworksheet...在下面的演示中,它显示:

``http://spreadsheets.google.com/feeds/list/o13394135408524254648.240766968415752635/od6/public/values

我正在考虑的 key 与示例中的格式不同……它是一串字母和数字,而不仅仅是像示例那样以“o”开头的数字。 .

有人能帮我解决这个问题吗?

0 个答案:

没有答案