@@ -783,6 +783,76 @@ http://111.231.75.86:8000/api/states/USA/?stateNames=Alaska,Alabama
783783]
784784```
785785
786+
787+ #### 多个州的日统计 : id =state-USA-list-daily
788+
789+ 可获取全部州或某几个州的日统计数据列表;
790+
791+ 接口地址:/api/states/USA/\< STATE\> /daily/
792+
793+ 原始数据:/api/states/raw/USA/\< STATE\> /daily/
794+
795+ 请求方法:GET
796+
797+ 请求参数:
798+
799+ 参数 | 描述
800+ ------------------- | -------
801+ stateNames | 州名,如:Alaska,Alabama;以逗号分割多个值;大小写敏感;
802+ states | 州缩写,如:AK(Alaska),AL(Alabama);大小写敏感;
803+
804+ 示例链接:
805+
806+ http://111.231.75.86:8000/api/states/USA/daily/
807+
808+ http://111.231.75.86:8000/api/states/USA/daily/?states=AK,AL
809+
810+ http://111.231.75.86:8000/api/states/USA/daily/?stateNames=Alaska,Alabama
811+
812+ 返回结果:
813+
814+ ```
815+ [
816+ {
817+ "date": 20200306,
818+ "state": "AK",
819+ "stateName": "Alaska",
820+ "countryShortCode": "USA",
821+ "confirmedCount": 0,
822+ "currentConfirmedCount": 0,
823+ "suspectedCount": 1,
824+ "curedCount": null,
825+ "deadCount": 0,
826+ "currentConfirmedIncr": 0,
827+ "confirmedIncr": null,
828+ "suspectedIncr": null,
829+ "curedIncr": null,
830+ "deadIncr": null
831+ },
832+ // (20200307 - 现在)AK 日统计
833+ ...
834+ {
835+ "date": 20200307,
836+ "state": "AL",
837+ "stateName": "Alabama",
838+ "countryShortCode": "USA",
839+ "confirmedCount": 0,
840+ "currentConfirmedCount": 0,
841+ "suspectedCount": null,
842+ "curedCount": null,
843+ "deadCount": null,
844+ "currentConfirmedIncr": 0,
845+ "confirmedIncr": null,
846+ "suspectedIncr": null,
847+ "curedIncr": null,
848+ "deadIncr": null
849+ },
850+ // (20200307 - 现在)AL 日统计
851+ ...
852+ // 其他州的日统计
853+ ```
854+
855+
786856#### 某州最新疫情 : id =state-USA-detail
787857
788858
0 commit comments