如何从共享的谷歌电子表格中获取JSON或XML

时间:2014-12-24 08:25:25

标签: json google-apps-script google-sheets

我需要来自共享电子表格的请求json。来自互联网的例子不工作。我试试:

https://spreadsheets.google.com/feeds/worksheet/KEY/private/full
https://spreadsheets.google.com/feeds/list/KEY/od3/public/basic?alt=json
https://spreadsheets.google.com/feeds/list/KEY/gid3/public/basic?alt=json
https://spreadsheets.google.com/feeds/list/KEY/3/public/basic?alt=json
https://spreadsheets.google.com/feeds/3/KEY/od6/public/basic?alt=json
https://spreadsheets.google.com/feeds/list/3/KEY/od6/public/basic?alt=json
https://spreadsheets.google.com/feeds/list/KEY/od6/public/basic?alt=json
https://spreadsheets.google.com/feeds/cells/KEY/7/public/values
https://spreadsheets.google.com/feeds/cells/KEY/7/private/values?alt==json&callback=JSON_CALLBACK
https://spreadsheets.google.com/feeds/cells/KEY/7/public/basic?alt==json&callback=JSON_CALLBACK
https://spreadsheets.google.com/feeds/cells/KEY/7/public/basic?alt==json-in-script&callback=JSON_CALLBACK
https://spreadsheets.google.com/feeds/list/KEY/od6/public/values?alt=json&callback=importGSS
https://spreadsheets.google.com/feeds/list/KEY/od6/public/values?alt=json
https://spreadsheets.google.com/feeds/list/KEY/od6/public/values?alt=json-in-script
https://spreadsheets.google.com/feeds/list/KEY/od6/public/values?alt=json-in-script&callback=x
https://spreadsheets.google.com/feeds/list/KEY/od6/public/values?alt=json-in-script&callback=

来自https://docs.google.com/spreadsheet/ccc?key=KEY#gid=7

的KEY

Google说“无效请求URI”或“无法找到此网址的电子表格。请确保您拥有正确的网址,且电子表格的所有者尚未将其删除。”

0 个答案:

没有答案