娱乐为主!
地址:https://weather.sl.al/
效果如下:
[ol]{ "lat": "29.881583", "lon": "121.568458", "city": "鄞州区", "region": "浙江省", "now": { "temp": 17, "feels": 17, "description": "晴" }, "sun": { "duration": "13 hrs 39 mins", "rise": 1715662860000, "set": 1715669520000 }, "hourly": [ { "timestamp": "5/15/2024, 12:00:00 AM", "temp": 14, "rain": "7%" }, { "timestamp": "5/15/2024, 1:00:00 AM", "temp": 14, "rain": "7%" }, { "timestamp": "5/15/2024, 2:00:00 AM", "temp": 13, "rain": "7%" }, { "timestamp": "5/15/2024, 3:00:00 AM", "temp": 13, "rain": "7%" }, { "timestamp": "5/15/2024, 4:00:00 AM", "temp": 12, "rain": "7%" }, { "timestamp": "5/15/2024, 5:00:00 AM", "temp": 13, "rain": "7%" }, { "timestamp": "5/15/2024, 6:00:00 AM", "temp": 16, "rain": "7%" }, { "timestamp": "5/15/2024, 7:00:00 AM", "temp": 19, "rain": "7%" }, { "timestamp": "5/15/2024, 8:00:00 AM", "temp": 22, "rain": "7%" }, { "timestamp": "5/15/2024, 9:00:00 AM", "temp": 24, "rain": "7%" }, { "timestamp": "5/15/2024, 10:00:00 AM", "temp": 25, "rain": "7%" }, { "timestamp": "5/15/2024, 11:00:00 AM", "temp": 27, "rain": "7%" } ], "daily": [ { "timestamp": "5/15/2024, 12:00:00 AM", "high": 27, "low": 13, "day": "部分晴,暖和有风", "night": "部分多云,凉爽", "rain": "25%" }, { "timestamp": "5/16/2024, 12:00:00 AM", "high": 27, "low": 15, "day": "部分晴,暖和", "night": "大部分多云", "rain": "25%" }, { "timestamp": "5/17/2024, 12:00:00 AM", "high": 29, "low": 16, "day": "部分晴,温暖有微风", "night": "部分多云", "rain": "25%" }, { "timestamp": "5/18/2024, 12:00:00 AM", "high": 27, "low": 15, "day": "大部分晴,暖和", "night": "大部分多云", "rain": "25%" }, { "timestamp": "5/19/2024, 12:00:00 AM", "high": 26, "low": 16, "day": "大部分多云", "night": "多云", "rain": "25%" }, { "timestamp": "5/20/2024, 12:00:00 AM", "high": 27, "low": 15, "day": "多云,暖和潮湿", "night": "多云", "rain": "25%" }, { "timestamp": "5/21/2024, 12:00:00 AM", "high": 28, "low": 17, "day": "多云,暖和", "night": "多云", "rain": "25%" }, { "timestamp": "5/22/2024, 12:00:00 AM", "high": 25, "low": 18, "day": "多云,下午有零星降雨和毛毛雨", "night": "多云,凌晨有零星降雨和毛毛雨", "rain": "55%" }, { "timestamp": "5/23/2024, 12:00:00 AM", "high": 26, "low": 20, "day": "上午有零星降雨和毛毛雨;多云,潮湿", "night": "多云,暖和潮湿", "rain": "80%" }, { "timestamp": "5/24/2024, 12:00:00 AM", "high": 30, "low": 21, "day": "上午有零星降雨和毛毛雨;多云,暖和潮湿", "night": "多云,暖和潮湿", "rain": "55%" } ]}[/ol]复制代码
查询参数:https://weather.sl.al/weather?lat=29.881583&lon=121.568458&lang=zh
lat:纬度
lon:经度
lang:语言 |