covid19-visualization
    covid19-visualization
    • readme
    • 全国整体疫情数据
      GET
    • 全国省份、地级市疫情数据
      GET
    • 全国省份疫情数据
      GET
    • 全国地级市疫情数据
      GET

      全国地级市疫情数据

      GET
      http://test-cn.your-api-server.com/cities
      获取全国所有地级市的疫情数据总览(不包含其下的区、县、镇、街道等)

      请求参数

      无

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://test-cn.your-api-server.com/cities'

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      示例
      [
          {
              "data": {
                  "confirmed_count": 17276,
                  "suspected_count": 0,
                  "cured_count": 16737,
                  "dead_count": 1
              },
              "comment": "",
              "name": "浦东新区",
              "adcode": "310115",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 4724,
                  "suspected_count": 0,
                  "cured_count": 4501,
                  "dead_count": 1
              },
              "comment": "",
              "name": "徐汇区",
              "adcode": "310104",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 5491,
                  "suspected_count": 0,
                  "cured_count": 5282,
                  "dead_count": 0
              },
              "comment": "",
              "name": "闵行区",
              "adcode": "310112",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 3295,
                  "suspected_count": 0,
                  "cured_count": 3113,
                  "dead_count": 1
              },
              "comment": "",
              "name": "静安区",
              "adcode": "310106",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 6628,
                  "suspected_count": 0,
                  "cured_count": 6458,
                  "dead_count": 0
              },
              "comment": "",
              "name": "黄浦区",
              "adcode": "310101",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 3709,
                  "suspected_count": 0,
                  "cured_count": 3544,
                  "dead_count": 0
              },
              "comment": "",
              "name": "虹口区",
              "adcode": "310109",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 2415,
                  "suspected_count": 0,
                  "cured_count": 2282,
                  "dead_count": 0
              },
              "comment": "",
              "name": "杨浦区",
              "adcode": "310110",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 3180,
                  "suspected_count": 0,
                  "cured_count": 3068,
                  "dead_count": 1
              },
              "comment": "",
              "name": "宝山区",
              "adcode": "310113",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 3044,
                  "suspected_count": 0,
                  "cured_count": 2968,
                  "dead_count": 0
              },
              "comment": "",
              "name": "松江区",
              "adcode": "310117",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 2426,
                  "suspected_count": 0,
                  "cured_count": 2362,
                  "dead_count": 0
              },
              "comment": "",
              "name": "长宁区",
              "adcode": "310105",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 1810,
                  "suspected_count": 0,
                  "cured_count": 1770,
                  "dead_count": 0
              },
              "comment": "",
              "name": "普陀区",
              "adcode": "310107",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 2669,
                  "suspected_count": 0,
                  "cured_count": 2629,
                  "dead_count": 2
              },
              "comment": "",
              "name": "嘉定区",
              "adcode": "310114",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 1350,
                  "suspected_count": 0,
                  "cured_count": 1324,
                  "dead_count": 0
              },
              "comment": "",
              "name": "青浦区",
              "adcode": "310118",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 260,
                  "suspected_count": 0,
                  "cured_count": 246,
                  "dead_count": 0
              },
              "comment": "",
              "name": "奉贤区",
              "adcode": "310120",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 342,
                  "suspected_count": 0,
                  "cured_count": 337,
                  "dead_count": 0
              },
              "comment": "",
              "name": "金山区",
              "adcode": "310116",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 399,
                  "suspected_count": 0,
                  "cured_count": 397,
                  "dead_count": 0
              },
              "comment": "",
              "name": "崇明区",
              "adcode": "310151",
              "update_time": 1670981945062
          },
          {
              "data": {
                  "confirmed_count": 1064,
                  "suspected_count": 0,
                  "cured_count": 66,
                  "dead_count": 0
              },
              "comment": "",
              "name": "昆明",
              "adcode": "530100",
      
      修改于 2023-04-02 07:34:09
      上一页
      全国省份疫情数据
      Built with