预警API指南

 

搜索类型:

 

 

 

使用LocationKey调取实况数据

http://{{api} or {{apidev}}.weathercn.com/alerts/{version}/{locationKey}{.{format}}?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}{&language={language code}}{&details={true or false}}

 

示例:

http://api.weathercn.com/alerts/v1/334907.json?&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}

http://api.weathercn.com/alerts/v1/334907.json?apikey={your key}&requestDate={YYYYMMDDHHm UTC}&accessKey={access key}&details=true

顶部