实时疫情新闻动态
实时疫情新闻动态

接口地址: https://wanghun.top/api/yh/v2/epidemicnews.php

返回格式: JSON/XML

请求方式: GET/POST

请求示例: https://wanghun.top/api/yh/v2/epidemicnews.php

请求参数说明:

名称 必填 类型 说明
gstring返回数量[只对文本生效]
typestringtext
type参数访问示例
type否填&type=text(将直接输出文本)

例:
https://wanghun.top/api/yh/v2/epidemicnews.php?type=text&g=3

返回结果:
2022-05-19 22:07:25 (来源:网易)
为何会不停地从管控人员和社会层面查出感染者?吴尊友详解
https://www.163.com/dy/article/H7OUMF9H0514R9OJ.html

2022-05-19 20:10:27 (来源:网易)
北京有病例一直未参加核酸检测 感染者:全家很后悔
https://www.163.com/v/video/VO6QUANFA.html

2022-05-19 20:02:13 (来源:网易)
世卫组织将康希诺疫苗列入“紧急使用清单”
https://www.163.com/dy/article/H7ONH6QP0534A4SC.html

返回参数说明:

名称 类型 说明
codeString状态
summaryString新闻摘要
titleString新闻标题
updateTimeString发布时间
provinceNameString地区
sourceUrlString新闻来源链接
infoSourceString新闻数据来源

返回错误码说明:

名称 类型 说明
200String请求成功

返回示例:

{"code":"200","by":"实时疫情新闻动态","latestdevelopments":[{"summary":"","sourceUrl":"https://www.163.com/dy/article/H7OUMF9H0514R9OJ.html","updateTime":"2022-05-19 22:07:25","provinceName":"","title":"为何会不停地从管控人员和社会层面查出感染者?吴尊友详解","infoSource":"网易"},{"summary":"","sourceUrl":"https://www.163.com/v/video/VO6QUANFA.html","updateTime":"2022-05-19 20:10:27","provinceName":"","title":"北京有病例一直未参加核酸检测 感染者:全家很后悔","infoSource":"网易"},{"summary":"","sourceUrl":"https://www.163.com/dy/article/H7ONH6QP0534A4SC.html","updateTime":"2022-05-19 20:02:13","provinceName":"","title":"世卫组织将康希诺疫苗列入“紧急使用清单”","infoSource":"网易"},{"summary":"","sourceUrl":"https://www.163.com/dy/article/H7OK9EN30514R9P4.html","updateTime":"2022-05-19 19:05:33","provinceName":"","title":"河南商丘计划耗资1.35亿建永久方舱 隔离点1000间","infoSource":"网易"},{"summary":"","sourceUrl":"https://www.163.com/dy/article/H7OJLU3C0514BE2Q.html","updateTime":"2022-05-19 18:55:14","provinceName":"","title":"上海封控中,一只螃蟹顽强地活着","infoSource":"网易"},{"summary":"","sourceUrl":"https://www.163.com/dy/article/H7OHPVKC0514R9OJ.html","updateTime":"2022-05-19 18:22:08","provinceName":"","title":"湖北鄂州华容区在隔离人员中发现1例阳性感染者","infoSource":"网易"}]}