Google Sheets REST API 4获取具有特定列的行
我只想在一列中获得一行包含特定值 如何进行查询并设置如下内容:如果“column1”=“3”返回该行 如果我使用sheets.spreadsheets.values.batchGetByDataFilter 我不知道在DataFilter中写什么(现在我只写“A:D”来返回所有行和列)Google Sheets REST API 4获取具有特定列的行,rest,google-sheets-formula,google-sheets-api,Rest,Google Sheets Formula,Google Sheets Api,我只想在一列中获得一行包含特定值 如何进行查询并设置如下内容:如果“column1”=“3”返回该行 如果我使用sheets.spreadsheets.values.batchGetByDataFilter 我不知道在DataFilter中写什么(现在我只写“A:D”来返回所有行和列) POSThttps://sheets.googleapis.com/v4/spreadsheets//values:batchGetByDataFilter?key={你的API密钥} { “数据过滤器”:[ {
POSThttps://sheets.googleapis.com/v4/spreadsheets//values:batchGetByDataFilter?key={你的API密钥}
{
“数据过滤器”:[
{
“A范围”:“A:D”
}
]
}
POST https://sheets.googleapis.com/v4/spreadsheets/<Sheet_ID>/values:batchGetByDataFilter?key={YOUR_API_KEY}
{
"dataFilters": [
{
"a1Range": "A:D"
}
]
}