@@ -436,47 +436,51 @@ http://111.231.75.86:8000/api/countries/daily/?countryNames=美国
436436
437437### 某国日统计 : id =country-daily
438438
439- 根据国家名称获取某个国家的疫情从 2020-01-19 到目前的疫情列表数据;
439+ 根据 [ 国家代码 ] ( #/?id=国家代码 ) 获取某个国家的疫情从 2020-01-19 到目前的疫情列表数据;
440440
441- 接口地址:/api/countries/\< COUNTRY_NAME \> /daily/
441+ 接口地址:/api/countries/\< COUNTRY_CODE \> /daily/
442442
443443请求方法:GET
444444
445445示例链接:
446446
447- http://111.231.75.86:8000/api/countries/美国 /daily/
447+ http://111.231.75.86:8000/api/countries/USA /daily/
448448
449- http://111.231.75.86:8000/api/countries/巴西 /daily/
449+ http://111.231.75.86:8000/api/countries/BRA /daily/
450450
451451返回结果:
452452
453453```
454454[
455455 {
456- "dateId": 20200119,
457- "currentConfirmedCount": 188,
458- "confirmedCount": 217,
456+ "confirmedCount": 1,
457+ "confirmedIncr": 1,
458+ "curedCount": 0,
459+ "curedIncr": 0,
460+ "currentConfirmedCount": 1,
461+ "currentConfirmedIncr": 1,
462+ "dateId": 20200123,
463+ "deadCount": 0,
464+ "deadIncr": 0,
459465 "suspectedCount": 0,
460- "curedCount": 25,
461- "deadCount": 4,
462- "currentConfirmedIncr": 188,
463- "confirmedIncr": 217,
464466 "suspectedCountIncr": 0,
465- "curedIncr ": 25 ,
466- "deadIncr ": 4
467+ "countryCode ": "USA" ,
468+ "countryName ": "美国"
467469 },
468470 {
469- "dateId": 20200120,
470- "currentConfirmedCount": 188,
471- "confirmedCount": 217,
471+ "confirmedCount": 1,
472+ "confirmedIncr": 0,
473+ "curedCount": 0,
474+ "curedIncr": 0,
475+ "currentConfirmedCount": 1,
476+ "currentConfirmedIncr": 0,
477+ "dateId": 20200124,
478+ "deadCount": 0,
479+ "deadIncr": 0,
472480 "suspectedCount": 0,
473- "curedCount": 25,
474- "deadCount": 4,
475- "currentConfirmedIncr": 188,
476- "confirmedIncr": 217,
477481 "suspectedCountIncr": 0,
478- "curedIncr ": 25 ,
479- "deadIncr ": 4
482+ "countryCode ": "USA" ,
483+ "countryName ": "美国"
480484 },
481485 ...
482486]
@@ -528,24 +532,16 @@ http://111.231.75.86:8000/api/countries/?continents=南美洲,北美洲&countryN
528532
529533### 某国最新疫情 : id =country-detail
530534
531- 根据国家名称获取某个国家的疫情统计数据;
532-
533- 接口地址:/api/countries/\< COUNTRY_NAME\> /
534-
535- 或
535+ 根据[ 国家代码] ( #/?id=国家代码 ) 获取某个国家的疫情统计数据;
536536
537537接口地址:/api/countries/\< COUNTRY_CODE\> /
538538
539539请求方法:GET
540540
541541示例链接:
542542
543- http://111.231.75.86:8000/api/countries/美国/
544-
545543http://111.231.75.86:8000/api/countries/USA/
546544
547- http://111.231.75.86:8000/api/countries/巴西/
548-
549545http://111.231.75.86:8000/api/countries/BRA/
550546
551547返回结果:
@@ -641,26 +637,19 @@ http://111.231.75.86:8000/api/provinces/USA/daily/
641637
642638!> 现阶段暂时仅支持获取 ` 中国各省 ` 、` 美国各州 ` 最新数据和每日数据;
643639
644- 接口地址:/api/provinces/\< COUNTRY_CODE\> /\< PROVINCE_NAME\> /daily/
645-
646- 或
640+ * [ 国家代码] ( #/?id=国家代码 )
641+ * [ 省、州编码] ( #/?id=省、州编码 )
647642
648643接口地址:/api/provinces/\< COUNTRY_CODE\> /\< PROVINCE_CODE\> /daily/
649644
650645请求方法:GET
651646
652647示例链接:
653648
654- http://111.231.75.86:8000/api/provinces/CHN/台湾/daily/
655-
656649http://111.231.75.86:8000/api/provinces/CHN/TW/daily/
657650
658- http://111.231.75.86:8000/api/provinces/CHN/香港/daily/
659-
660651http://111.231.75.86:8000/api/provinces/CHN/XG/daily/
661652
662- http://111.231.75.86:8000/api/provinces/CHN/澳门/daily/
663-
664653http://111.231.75.86:8000/api/provinces/CHN/AM/daily/
665654
666655
@@ -717,6 +706,8 @@ http://111.231.75.86:8000/api/provinces/USA/AL/daily/
717706
718707获取某省/自治区/直辖市/州的疫情统计数据;
719708
709+ * [ 国家代码] ( #/?id=国家代码 )
710+
720711接口地址:/api/provinces/\< COUNTRY_CODE\> /
721712
722713请求方法:GET
@@ -776,26 +767,22 @@ http://111.231.75.86:8000/api/provinces/USA/?provinceCodes=AL,AK
776767
777768!> 现阶段暂时仅支持获取 ` 中国各省 ` 、` 美国各州 ` 最新数据和每日数据;
778769
779- 通过` 省份名 ` 或` 省份编码 ` 获取某省份(自治区、直辖市)的疫情统计数据;
770+ 通过[ 省、州编码] ( #/?id=省、州编码 ) 获取某省份(自治区、直辖市)的疫情统计数据;
771+
772+ * [ 国家代码] ( #/?id=国家代码 )
773+ * [ 省、州编码] ( #/?id=省、州编码 )
780774
781- 接口地址:/api/provinces/\< COUNTRY_CODE\> /\< PROVINCE_NAME \> /
775+ 接口地址:/api/provinces/\< COUNTRY_CODE\> /\< PROVINCE_CODE \> /
782776
783777请求方法:GET
784778
785779示例链接:
786780
787- http://111.231.75.86:8000/api/provinces/CHN/四川/
788-
789- http://111.231.75.86:8000/api/provinces/CHN/台湾/
790781
791782http://111.231.75.86:8000/api/provinces/CHN/TW/
792783
793- http://111.231.75.86:8000/api/provinces/CHN/香港/
794-
795784http://111.231.75.86:8000/api/provinces/CHN/XG/
796785
797- http://111.231.75.86:8000/api/provinces/CHN/澳门/
798-
799786http://111.231.75.86:8000/api/provinces/CHN/AM/
800787
801788http://111.231.75.86:8000/api/provinces/USA/Alaska/
0 commit comments