您需要在用户中心填写 预警推送URL网址 , 预警中的城市数据会24小时不间断POST过去, 一次只POST一个城市数据
地区权限 | 价格方案 | 推送权限 | |
---|---|---|---|
固定1个城市ID | 200元/1年 | 1000元/永久 | 实时推送+解除推送 |
固定10个城市ID | 500元/1年 | 2000元/永久 | 实时推送+解除推送 |
固定10个市及下属城市 | 500元/1年 | 2000元/永久 | 实时推送+解除推送 |
1个市及下属城市 | 500元/1年 | 2000元/永久 | 实时推送+解除推送 |
1个省及下属城市 | 1000元/1年 | 3000元/永久 | 实时推送+解除推送 |
全国所有城市 | 1500元/1年 | 7000元/永久 | 实时推送+解除推送 |
推送方式:
POST
POST参数说明:
字段名 | 说明 | 备注 |
---|---|---|
safecode | 安全码 | 后台可修改,用于通信验证 |
title | 预警标题 | 如:河北省霸州市发布雷电黄色预警 |
type | 预警类型 | 如:雷电 |
level | 预警等级 | 如:黄色 |
text | 具体内容 | |
time | 发布时间 | |
pushlevel | 推送等级 | 1:省级预警 2:市级预警 3:区县级预警 |
cityid | 城市ID | |
province | 省份 | |
city | 城市名称 | |
area | 区县名称 |
备注
POST字段预览
{
"safecode":"123456",
"title":"广西壮族自治区北海市发布雷电橙色预警",
"type":"雷电",
"level":"橙色",
"text":"北海市气象台23日4时05分更新发布雷电橙色预警信号:雷雨云团正影响涠洲岛、海城区、银海区及北部湾海面,雷雨云团向偏北方向移动,预计未来3小时,上述地区仍受雷电活动影响,并伴有短时强降雨和大风,请防范。(预警信息来源:国家预警信息发布中心)",
"time":"2020-09-23 04:05:13",
"pushlevel":"3",
"cityid":"101301306",
"province":"广西",
"city":"北海",
"area":"铁山港"
}
蓝色,黄色,橙色,红色,白色
["台风预警","暴雨预警","暴雪预警","寒潮预警","大风预警","沙尘暴预警","高温预警","干旱预警","雷电预警","冰雹预警","霜冻预警","大雾预警","霾预警","道路结冰预警","海上大雾预警","雷暴大风预警","持续低温预警","浓浮尘预警","龙卷风预警","低温冻害预警","海上大风预警","低温雨雪冰冻预警","强对流预警","臭氧预警","大雪预警","强降雨预警","强降温预警","雪灾预警","森林(草原)火险预警","雷暴预警","严寒预警","沙尘预警","海上雷雨大风预警","海上雷电预警","海上台风预警","低温预警","寒冷预警","灰霾预警","雷雨大风预警","森林火险预警","降温预警","道路冰雪预警","干热风预警","空气重污染预警","冰冻预警"]