Google Chart Visualization API tqx选项已损坏?

时间:2017-01-05 02:14:49

标签: google-sheets google-visualization

这有效

curl'https://docs.google.com/spreadsheets/d/13pXb7Kek010B6s8Ez3h6yX4qF92MgvV4uMk71dJhe3o/gviz/tq tqx = out:html & tq = select%20A,B,C%20#gid = 0& pubhtml?widget = true& headers = false “

这样做:

curl'https://docs.google.com/spreadsheets/d/13pXb7Kek010B6s8Ez3h6yX4qF92MgvV4uMk71dJhe3o/gviz/tq tqx = out:csv & tq = select%20A,B,C%20#gid = 0& pubhtml?widget = true& headers = false “

这不是

curl'https://docs.google.com/spreadsheets/d/13pXb7Kek010B6s8Ez3h6yX4qF92MgvV4uMk71dJhe3o/gviz/tq tqx = out:tsv-excel & tq = select%20A,B,C%20#gid = 0& pubhtml?widget = true& headers =假'

相反,我得到:

google.visualization.Query.setResponse({ “版本”: “0.6”, “REQID”: “0”, “状态”: “OK”, “SIG”: “1469006009”, “表”:{” cols“:[{”id“:”A“,”label“:”Species - \ u0027Cultivar \ u0027 - Pot Size“,”type“:”string“},{”id“:”B“,”标签 “:” 伯爵 “ ”类型“: ”数字“, ”模式“: ”常规“},{ ”ID“: ”C“, ”标签“: ”价格“, ”类型“: ”数字“,” pattern“:”[$$]#,## 0.00“}],”rows“:[{”c“:[{”v“:”Cedar,Eastern White - \ u0027Skybound \ u0027 - #10 Grow bag (42升)“},{”v“:37.0,”f“:”37“},{”v“:120.0,”f“:”$ 120.00“}}},{”c“:[{”v “:”Cedar,Eastern White - #5 trade

在我看来是JSON输出。

如何获得制表符分隔的输出?

这里记录了:https://developers.google.com/chart/interactive/docs/dev/implementing_data_source#request-format

我有拼写错误吗?

我也把这个发布到谷歌[visualization-api]组,但两天后我没有收到任何回复。

0 个答案:

没有答案