如果我使用此 URL: https ://api.xively.com/v2/feeds/65673.json?datastreams=3
Xively 返回:
{ "id":65673,
"title":"Swimming Pool",
"private":"false",
"tags":["arduino","xbee"],
"description":"Monitors swimming pool conditions",
"feed":"https://api.xively.com/v2/feeds/65673.json",
"status":"live",
"updated":"2013-08-03T22:35:27.489534Z",
"created":"2012-07-02T00:23:57.518294Z",
"creator":"https://xively.com/users/scott216",
"version":"1.0.0",
"datastreams":[{
"id":"3",
"current_value":"76.20",
"at":"2013-08-03T22:35:27.247712Z",
"max_value":"93.6","min_value":"-2845.0",
"tags":["Temp 1"],
"unit":{"symbol":"F","label":"Degrees"}
}],
"location":{
"disposition":"fixed",
"exposure":"outdoor",
"domain":"physical"
}
}
但 In 只想要 current_value 76.20。有没有办法向 URL 添加过滤器或其他东西,以便它只返回当前值?