接口地址: https://登录后显示/api/94/219(支持:http/https)
返回格式:json,xml,jsonp调用
请求方式:GET,POST
POST 请求需要设置Header头:Content-Type: application/x-www-form-urlencoded;charset=utf-8
Api测试工具请求说明:
名称 | 必填 | 类型 | 说明 | 示例 参数另存 |
---|---|---|---|---|
appid | 是 | String | 应用ID,在后台我的应用查看或者添加 | 1 |
date | 否 | String | 日期 | 2022-07-16 |
format | 否 | String | 返回数据格式类型,每个接口已经说明支持返回格式:json,xml, jsonp调用方法说明 | json |
sign | 是 | String | 1.使用Md5方式验证,参数按一定规则md5后返回的字符串,详情点击这里阅读 2.使用Hash验证方式,直接跟上密钥即可。如何设置hash验证 通过我的应用里面修改验证方式 |
52a9dbe274a5c537bbf7a53e2d66c09f |
time | 否 | String | 请求时传递的当前服务器时间戳 | 1545829466 |
Md5验证方式-加密顺序
返回参数说明:
名称 | 必填 | 类型 | 说明 | 示例 参数另存 |
---|---|---|---|---|
adcode | 否 | String | 行政编码 | 350000 |
asymptomatic | 否 | String | 现有无症状 | 0 |
asymptomaticLocalRelative | 否 | String | 7 | |
asymptomaticRelative | 否 | String | 新增无症状 | 7 |
city | 否 | String | 所属城市 | 平潭综合实验区 |
codeid | 否 | Integer | 状态码,返回10000状态都会进行计费。具体说明可查看状态码说明 | 10000 |
confirm | 否 | Integer | 累计确诊 | 11 |
confirmedRelative | 否 | String | 新增本土确诊病例 | 0 |
curAsymptomaticLocalRelative | 否 | String | ||
curConfirm | 否 | String | 现有确诊 | 11 |
curtime | 否 | String | 当前服务器时间戳 | 1667013828 |
dangerousAreas | 否 | Array | 风险区域 | |
died | 否 | String | 累计死亡 | 0 |
heal | 否 | Integer | 累计治愈 | 0 |
highLevelNum | 否 | Integer | 2 | |
isNew | 否 | Integer | 是否为新增封控区,1是 0否 | 1 |
level | 否 | String | 风险等级 | 中风险 |
message | 否 | String | 请求状态说明 | 操作成功! |
midLevelNum | 否 | Integer | 50 | |
moreUrl | 否 | String | http://m.fz.bendibao.com/news/yqdengji/?src=baidu | |
nativeRelative | 否 | String | 新增本土 | 0 |
noNativeRelativeDays | 否 | String | 连续无本土新增时间 | |
overseasInputRelative | 否 | String | 新增境外 | 13 |
relativeTime | 否 | String | 时间戳 | 1666886400 |
retdata | 否 | Array | 回数据集合,可能是数据、对象或者字符串 | |
screeningPositive | 否 | String | 阳性 | 0 |
subList | 否 | Array | 数据集合 | |
totalNum | 否 | Integer | 52 | |
updateTime | 否 | String | 更新时间 | 1667007130 |
xArea | 否 | String | 地区 | 福州永泰县城峰镇洋亭路1号云山蓝郡6幢1梯 |
JSON返回示例: