在Google电子表格Feed中获取具有特定值的行 [英] Get rows having specific value in google spreadsheet feed

查看:63
本文介绍了在Google电子表格Feed中获取具有特定值的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够使用来获取Google电子表格的完整json提要

I was able to get complete json feed of google spreadsheet using,

https://spreadsheets.google.com/feeds/list/--KEY--/od6/public/values?alt=json-in-script

是否可以像在sql中一样通过比较列中的值来从Google电子表格中仅获取某些行?(例如,获取年龄为25岁的行)

Is it possible to get only certain rows from google spreadsheet by comparing values in column, like we do in sql ? (For eg. get rows where age==25)

推荐答案

最后,找到答案了.

您可以使用类似查询

&sq=age="25"

如果要使用多个查询,请使用

If you want to use multiple queries use

&sq=age="25"+and+name="Full%20Name"

因此最终的网址将类似于

So the final url will be like

https://spreadsheets.google.com/feeds/list/--KEY--/od6/public/values?alt=json-in-script&sq=age="25"+and+name="Full%20Name"

这篇关于在Google电子表格Feed中获取具有特定值的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆