滑雪场可视化平台
  1. 滑雪场可视化平台
滑雪场可视化平台
  • 🦊一分钟,了解 Apifox !
  • 滑雪场可视化平台
    • 获取全部站点气温值
      GET
    • 获取单站实况数据
      GET
    • 获取滑雪场气象预报数据
      GET
    • 获取雪质预报数据
      GET
  • 数据模型
    • 示例数据模型
      • Pet
      • Category
      • Tag
  1. 滑雪场可视化平台

获取单站实况数据

GET
http://192.168.78.72:8000/GetWeather/{name}

请求参数

Path 参数

请求示例代码

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://192.168.78.72:8000/GetWeather/59431'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 200,
    "data": {
        "air": {
            "aq": 2,
            "aqi": 62,
            "aqiCode": "99260;99261;99262;99263;99264;99265;99267",
            "forecasttime": "2023-01-31 14:00",
            "text": "良"
        },
        "climate": {
            "month": [
                {
                    "maxTemp": 17.2,
                    "minTemp": 10,
                    "month": 1,
                    "precipitation": 38.6
                },
                {
                    "maxTemp": 18.5,
                    "minTemp": 11.9,
                    "month": 2,
                    "precipitation": 45.4
                },
                {
                    "maxTemp": 21.6,
                    "minTemp": 14.9,
                    "month": 3,
                    "precipitation": 61.9
                },
                {
                    "maxTemp": 26.8,
                    "minTemp": 19.5,
                    "month": 4,
                    "precipitation": 86.7
                },
                {
                    "maxTemp": 30.4,
                    "minTemp": 22.6,
                    "month": 5,
                    "precipitation": 175.4
                },
                {
                    "maxTemp": 32.1,
                    "minTemp": 24.8,
                    "month": 6,
                    "precipitation": 216.8
                },
                {
                    "maxTemp": 32.9,
                    "minTemp": 25.3,
                    "month": 7,
                    "precipitation": 237.6
                },
                {
                    "maxTemp": 33,
                    "minTemp": 25.1,
                    "month": 8,
                    "precipitation": 181.9
                },
                {
                    "maxTemp": 31.7,
                    "minTemp": 23.5,
                    "month": 9,
                    "precipitation": 126.6
                },
                {
                    "maxTemp": 28.8,
                    "minTemp": 20.1,
                    "month": 10,
                    "precipitation": 50.3
                },
                {
                    "maxTemp": 24.4,
                    "minTemp": 15.3,
                    "month": 11,
                    "precipitation": 45.7
                },
                {
                    "maxTemp": 20,
                    "minTemp": 11.1,
                    "month": 12,
                    "precipitation": 23.1
                }
            ],
            "time": "1981年-2010年"
        },
        "passedchart": [
            {
                "humidity": 49,
                "pressure": 995,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 20.9,
                "time": "2023-01-31 15:00",
                "windDirection": 124,
                "windSpeed": 2.9
            },
            {
                "humidity": 53,
                "pressure": 996,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 19.7,
                "time": "2023-01-31 14:00",
                "windDirection": 169,
                "windSpeed": 6.9
            },
            {
                "humidity": 64,
                "pressure": 998,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 18.2,
                "time": "2023-01-31 13:00",
                "windDirection": 158,
                "windSpeed": 3.4
            },
            {
                "humidity": 60,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 16.8,
                "time": "2023-01-31 12:00",
                "windDirection": 169,
                "windSpeed": 2.6
            },
            {
                "humidity": 54,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 15,
                "time": "2023-01-31 11:00",
                "windDirection": 98,
                "windSpeed": 1.5
            },
            {
                "humidity": 55,
                "pressure": 1001,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 12.7,
                "time": "2023-01-31 10:00",
                "windDirection": 87,
                "windSpeed": 1.6
            },
            {
                "humidity": 60,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 9.4,
                "time": "2023-01-31 09:00",
                "windDirection": 70,
                "windSpeed": 2
            },
            {
                "humidity": 59,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 7.6,
                "time": "2023-01-31 08:00",
                "windDirection": 70,
                "windSpeed": 2.3
            },
            {
                "humidity": 64,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 6.9,
                "time": "2023-01-31 07:00",
                "windDirection": 79,
                "windSpeed": 2.9
            },
            {
                "humidity": 57,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 7.9,
                "time": "2023-01-31 06:00",
                "windDirection": 79,
                "windSpeed": 3.3
            },
            {
                "humidity": 56,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 8.1,
                "time": "2023-01-31 05:00",
                "windDirection": 76,
                "windSpeed": 2
            },
            {
                "humidity": 52,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 8.8,
                "time": "2023-01-31 04:00",
                "windDirection": 87,
                "windSpeed": 2.8
            },
            {
                "humidity": 44,
                "pressure": 999,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 10,
                "time": "2023-01-31 03:00",
                "windDirection": 101,
                "windSpeed": 2.4
            },
            {
                "humidity": 41,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 10.8,
                "time": "2023-01-31 02:00",
                "windDirection": 124,
                "windSpeed": 2.9
            },
            {
                "humidity": 40,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 11.2,
                "time": "2023-01-31 01:00",
                "windDirection": 93,
                "windSpeed": 1.3
            },
            {
                "humidity": 38,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 13.2,
                "time": "2023-01-31 00:00",
                "windDirection": 160,
                "windSpeed": 2.5
            },
            {
                "humidity": 34,
                "pressure": 1001,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 13.9,
                "time": "2023-01-30 23:00",
                "windDirection": 174,
                "windSpeed": 6.3
            },
            {
                "humidity": 25,
                "pressure": 1001,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 16,
                "time": "2023-01-30 22:00",
                "windDirection": 166,
                "windSpeed": 6.9
            },
            {
                "humidity": 25,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 16.3,
                "time": "2023-01-30 21:00",
                "windDirection": 115,
                "windSpeed": 4.1
            },
            {
                "humidity": 24,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 16.8,
                "time": "2023-01-30 20:00",
                "windDirection": 132,
                "windSpeed": 4.3
            },
            {
                "humidity": 20,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 17.1,
                "time": "2023-01-30 19:00",
                "windDirection": 146,
                "windSpeed": 2.8
            },
            {
                "humidity": 21,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 18.2,
                "time": "2023-01-30 18:00",
                "windDirection": 121,
                "windSpeed": 2.6
            },
            {
                "humidity": 21,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 19.5,
                "time": "2023-01-30 17:00",
                "windDirection": 98,
                "windSpeed": 2.2
            },
            {
                "humidity": 19,
                "pressure": 1000,
                "rain12h": 9999,
                "rain1h": 0,
                "rain24h": 9999,
                "rain6h": 9999,
                "tempDiff": "",
                "temperature": 20.5,
                "time": "2023-01-30 16:00",
                "windDirection": 121,
                "windSpeed": 3.7
            }
        ],
        "predict": {
            "detail": [
                {
                    "date": "2023-01-31",
                    "day": {
                        "weather": {
                            "img": "1",
                            "info": "多云",
                            "temperature": "19"
                        },
                        "wind": {
                            "direct": "南风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "7"
                        },
                        "wind": {
                            "direct": "南风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-01",
                    "day": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "19"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "13"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-02",
                    "day": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "19"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "14"
                        },
                        "wind": {
                            "direct": "东风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-03",
                    "day": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "18"
                        },
                        "wind": {
                            "direct": "东风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "13"
                        },
                        "wind": {
                            "direct": "东风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-04",
                    "day": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "17"
                        },
                        "wind": {
                            "direct": "东风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "14"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-05",
                    "day": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "18"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "14"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                },
                {
                    "date": "2023-02-06",
                    "day": {
                        "weather": {
                            "img": "2",
                            "info": "阴",
                            "temperature": "20"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "night": {
                        "weather": {
                            "img": "7",
                            "info": "小雨",
                            "temperature": "15"
                        },
                        "wind": {
                            "direct": "东南风",
                            "power": "微风"
                        }
                    },
                    "pt": "2023-01-31 12:00"
                }
            ],
            "publish_time": "2023-01-31 12:00",
            "station": {
                "city": "南宁",
                "code": "59431",
                "province": "广西壮族自治区",
                "url": "/publish/forecast/AGX/nanning.html"
            }
        },
        "radar": {
            "image": "/product/2023/01/31/RDCP/SEVP_AOC_RDCP_SLDAS3_EBREF_AZ9771_L88_PI_20230131071200000.PNG?v=1675149877726",
            "title": "南宁",
            "url": "/publish/radar/guang-xi/nan-ning.htm"
        },
        "real": {
            "publish_time": "2023-01-31 15:10",
            "station": {
                "city": "南宁",
                "code": "59431",
                "province": "广西壮族自治区",
                "url": "/publish/forecast/AGX/nanning.html"
            },
            "warn": {
                "alert": "9999",
                "city": "9999",
                "fmeans": "9999",
                "issuecontent": "9999",
                "pic": "9999",
                "pic2": "9999",
                "province": "9999",
                "signallevel": "9999",
                "signaltype": "9999",
                "url": "9999"
            },
            "weather": {
                "airpressure": 9999,
                "feelst": 17.1,
                "humidity": 49,
                "icomfort": -1,
                "img": "0",
                "info": "晴",
                "rain": 0,
                "rcomfort": 59,
                "temperature": 21,
                "temperatureDiff": 0.3
            },
            "wind": {
                "degree": 143,
                "direct": "东南风",
                "power": "3级",
                "speed": 5.1
            }
        },
        "tempchart": [
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 14.4,
                "min_temp": 8.9,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/24"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 17.1,
                "min_temp": 6.3,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/25"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 15.1,
                "min_temp": 9.8,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/26"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 13.1,
                "min_temp": 8.1,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/27"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 15.5,
                "min_temp": 8.6,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/28"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 18.7,
                "min_temp": 8.1,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/29"
            },
            {
                "day_img": "9999",
                "day_text": "9999",
                "max_temp": 20.6,
                "min_temp": 5.8,
                "night_img": "9999",
                "night_text": "9999",
                "time": "2023/01/30"
            },
            {
                "day_img": "1",
                "day_text": "多云",
                "max_temp": 19,
                "min_temp": 7,
                "night_img": "2",
                "night_text": "阴",
                "time": "2023/01/31"
            },
            {
                "day_img": "2",
                "day_text": "阴",
                "max_temp": 19,
                "min_temp": 13,
                "night_img": "2",
                "night_text": "阴",
                "time": "2023/02/01"
            },
            {
                "day_img": "2",
                "day_text": "阴",
                "max_temp": 19,
                "min_temp": 14,
                "night_img": "7",
                "night_text": "小雨",
                "time": "2023/02/02"
            },
            {
                "day_img": "7",
                "day_text": "小雨",
                "max_temp": 18,
                "min_temp": 13,
                "night_img": "7",
                "night_text": "小雨",
                "time": "2023/02/03"
            },
            {
                "day_img": "7",
                "day_text": "小雨",
                "max_temp": 17,
                "min_temp": 14,
                "night_img": "7",
                "night_text": "小雨",
                "time": "2023/02/04"
            },
            {
                "day_img": "7",
                "day_text": "小雨",
                "max_temp": 18,
                "min_temp": 14,
                "night_img": "2",
                "night_text": "阴",
                "time": "2023/02/05"
            },
            {
                "day_img": "2",
                "day_text": "阴",
                "max_temp": 20,
                "min_temp": 15,
                "night_img": "7",
                "night_text": "小雨",
                "time": "2023/02/06"
            }
        ]
    },
    "msg": "success"
}
修改于 2023-01-31 09:23:16
上一页
获取全部站点气温值
下一页
获取滑雪场气象预报数据
Built with