城市辐射指数接口调用示例,支持查询不同城市的辐射指数。
接口名称:城市辐射指数接口
接口平台:聚合数据
接口地址:http://web.juhe.cn:8080/environment/air/radia
支持格式:JSON
请求方式:GET
请求示例:http://web.juhe.cn:8080/environment/air/radia?city=城市名称&num=页码&key=您申请的APPKEY值
JSON返回示例:
{
"resultcode":"200",
"reason":"SUCCESSED!",
"result":[
{
"data":{
"1":{
"city":"成都", /*城市*/
"measureRange":"90.1-93.9", /*测值范围*/
"avg":"91.4", /*平均值*/
"referRange":"58.3-324.3", /*参考本底范围 (当地原野)*/
"conclusion":"正常水平", /*结论*/
"time":"2013年01月11日09:00 — 12日09:00" /*监测时间*/
},
"2":{
"city":"成都",
"measureRange":"89.6-91.4",
"avg":"90.5",
"referRange":"58.3-324.3",
"conclusion":"正常水平",
"time":"2013年01月10日09:00 — 11日09:00"
},
......
,
"lastTwentyDays":
"http://datacenter.mep.gov.cn:80/report/reportServlet?action=9&graphId=159376&time=1364979318436"
/*最近二十天辐射平均值走势图*/
}
}
]
}