分享一个地震信息api

RaspiSQH 120.8m2019-10-312041 次点击4 人感谢
地址:
http://api.dizhensubao.igexin.com/api.htm
参数:
action:getDataAction
startTime:开始时间
endTime:结束时间
dataSource:CEIC
例子json:
{‌‌
"action":"getDataAction",
"startTime":"1571230338270",
"endTime":"1572526338270",
"dataSource":"CEIC"
}
响应:
{‌‌
"result": "OK",
"values": [
{‌‌
"time": 1572509014000,
"longitude": 102.35,
"latitude": 29.07,
"depth": 15000.0,
"updateTime": 1572509480000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "AUAU.20191031160408.V.001",
"loc_name": "四川雅安市石棉县",
"mag": 3.6,
"eq_type": "M",
"loc_province": "四川"
},
{‌‌
"time": 1572484278000,
"longitude": 125.25,
"latitude": 7.05,
"depth": 10000.0,
"updateTime": 1572485579000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "AUAU.20191031091531.V.001",
"loc_name": "菲律宾棉兰老岛",
"mag": 6.6,
"eq_type": "M",
"loc_province": "菲律宾棉兰老岛"
},
{‌‌
"time": 1572433474000,
"longitude": 75.85,
"latitude": 37.0,
"depth": 10000.0,
"updateTime": 1572434316000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "CD20191030190434.00",
"loc_name": "新疆喀什地区塔什库尔干县",
"mag": 4.0,
"eq_type": "M",
"loc_province": "新疆"
},
{‌‌
"time": 1572373607000,
"longitude": 78.81,
"latitude": 41.19,
"depth": 10000.0,
"updateTime": 1572374091000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "CD20191030022648.00",
"loc_name": "新疆阿克苏地区乌什县",
"mag": 3.0,
"eq_type": "M",
"loc_province": "新疆"
},
{‌‌
"time": 1572338645000,
"longitude": 154.85,
"latitude": -6.25,
"depth": 40000.0,
"updateTime": 1572340497000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "CC20191029164405.00",
"loc_name": "巴布亚新几内亚布干维尔岛附近海域",
"mag": 5.8,
"eq_type": "M",
"loc_province": "巴布亚新几内亚布干维尔岛附近海域"
},
(省略........)
{‌‌
"time": 1571281506000,
"longitude": 77.49,
"latitude": 35.94,
"depth": 10000.0,
"updateTime": 1571282146000,
"url": "www.ceic.ac.cn",
"ring": false,
"eqid": "CD20191017110507.00",
"loc_name": "新疆喀什地区叶城县",
"mag": 3.4,
"eq_type": "M",
"loc_province": "新疆"
}
]
}
收藏 ♥ 感谢
RaspiSQH 120.8m 2019-10-31 
这个链接识别什么鬼。。。
Spoony 小组长 2019-11-01 
@RaspiSQH 识别 BUG。。又要捉虫了

登录注册 后可回复。



GitHub