『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: mitu

[经验分享] 获取“天气通”天气数据,不需要APIKEY,没有次数限制,...

  [复制链接]

0

主题

2

帖子

71

积分

注册会员

Rank: 2

积分
71
金钱
69
HASS币
0
发表于 2024-5-22 16:22:56 | 显示全部楼层
谢谢分享!!!
回复

使用道具 举报

0

主题

12

帖子

92

积分

注册会员

Rank: 2

积分
92
金钱
80
HASS币
0
发表于 2024-5-24 14:45:53 | 显示全部楼层
感谢分享
回复

使用道具 举报

0

主题

25

帖子

61

积分

注册会员

Rank: 2

积分
61
金钱
36
HASS币
0
发表于 2024-6-2 17:29:08 | 显示全部楼层
感谢楼主分享,加入国内源下载速度会快很多~~
回复

使用道具 举报

20

主题

211

帖子

1535

积分

金牌会员

Rank: 6Rank: 6

积分
1535
金钱
1324
HASS币
10
发表于 2024-6-2 22:19:55 | 显示全部楼层
{
    "code": "200",
    "msg": "根据IP地址获得城市ID,和省市县名;获取天气预报;获取地质灾害预警;获取地震预警;根据24节气和经纬度获取日出日落时间;获取自动开启和关闭路灯时间;获取城市限行尾号",
    "ip": "115.194.118.96",
    "province": "浙江省",
    "city": "杭州市(州)",
    "county": "杭州县(区)",
    "longitude": 120.153576,
    "latitude": 30.287459,
    "sunriseSunset": {
        "msg": "提供日出日落时间,开灯关灯时间",
        "sunriseTime": "05:00",
        "sunsetTime": "18:54",
        "openLightsTime": "19:09",
        "closeLightsTime": "04:45"
    },
    "weatherData": {
        "msg": "提供天气预报",
        "data": {
            "nameen": "hangzhou",
            "cityname": "杭州",
            "city": "101210101",
            "temp": "22.2",
            "tempf": "72",
            "WD": "西北风",
            "wde": "NW",
            "WS": "1级",
            "wse": "1km\/h",
            "SD": "66%",
            "sd": "66%",
            "qy": "1007",
            "njd": "26km",
            "time": "22:00",
            "rain": "0",
            "rain24h": "0",
            "aqi": "36",
            "aqi_pm25": "36",
            "weather": "多云",
            "weathere": "Cloudy",
            "weathercode": "d01",
            "limitnumber": "不限行",
            "date": "06月02日(星期日)"
        }
    },
    "weatherInfo": {
        "msg": "天气信息",
        "data": {
            "city": "101210101",
            "cityname": "杭州",
            "fctime": "202406021800",
            "temp": "28℃",
            "tempn": "19℃",
            "weather": "阴转多云",
            "weathercode": "d2",
            "weathercoden": "n1",
            "wd": "东风",
            "ws": "3-4级"
        }
    },
    "alert": {
        "code": 200,
        "msg": "地质灾害预警"
    },
    "earthquake": {
        "msg": "提供地震预警",
        "data": {
            "No1": {
                "type": "reviewed",
                "time": "2024-06-02 09:27:24",
                "ReportTime": "2024-06-02 09:37:11",
                "location": "台湾花莲县海域",
                "magnitude": "4.1",
                "depth": "10",
                "latitude": "23.75",
                "longitude": "121.67",
                "intensity": "6"
            },
            "No2": {
                "type": "reviewed",
                "time": "2024-06-01 20:37:50",
                "ReportTime": "2024-06-01 20:45:11",
                "location": "西藏那曲市尼玛县",
                "magnitude": "3.2",
                "depth": "10",
                "latitude": "34.41",
                "longitude": "86.45",
                "intensity": "4"
            },
            "No3": {
                "type": "reviewed",
                "time": "2024-06-01 18:58:56",
                "ReportTime": "2024-06-01 19:06:58",
                "location": "西藏那曲市尼玛县",
                "magnitude": "3.7",
                "depth": "10",
                "latitude": "34.23",
                "longitude": "86.33",
                "intensity": "5"
            },
            "No4": {
                "type": "reviewed",
                "time": "2024-06-01 11:15:18",
                "ReportTime": "2024-06-01 11:22:54",
                "location": "西藏那曲市尼玛县",
                "magnitude": "3.0",
                "depth": "10",
                "latitude": "34.54",
                "longitude": "86.65",
                "intensity": "4"
            },
            "No5": {
                "type": "reviewed",
                "time": "2024-06-01 10:59:54",
                "ReportTime": "2024-06-01 11:15:24",
                "location": "西藏那曲市尼玛县",
                "magnitude": "3.8",
                "depth": "10",
                "latitude": "34.47",
                "longitude": "86.42",
                "intensity": "5"
            },
            "No6": {
                "type": "reviewed",
                "time": "2024-06-01 08:46:37",
                "ReportTime": "2024-06-01 08:58:24",
                "location": "西藏那曲市尼玛县",
                "magnitude": "5.9",
                "depth": "8",
                "latitude": "34.14",
                "longitude": "86.36",
                "intensity": "8"
            },
            "No7": {
                "type": "reviewed",
                "time": "2024-06-01 08:32:38",
                "ReportTime": "2024-06-01 08:40:21",
                "location": "台湾宜兰县海域",
                "magnitude": "4.2",
                "depth": "10",
                "latitude": "24.35",
                "longitude": "122.08",
                "intensity": "6"
            },
            "No8": {
                "type": "reviewed",
                "time": "2024-06-01 01:10:59",
                "ReportTime": "2024-06-01 01:25:23",
                "location": "台湾花莲县",
                "magnitude": "5.2",
                "depth": "10",
                "latitude": "24.01",
                "longitude": "121.59",
                "intensity": "7"
            },
            "No9": {
                "type": "reviewed",
                "time": "2024-05-31 23:54:41",
                "ReportTime": "2024-06-01 00:30:16",
                "location": "新西兰克马德克群岛地区",
                "magnitude": "6.2",
                "depth": "10",
                "latitude": "-29.40",
                "longitude": "-176.60",
                "intensity": "8"
            },
            "No10": {
                "type": "reviewed",
                "time": "2024-05-31 15:21:25",
                "ReportTime": "2024-05-31 15:28:48",
                "location": "新疆阿克苏地区柯坪县",
                "magnitude": "3.1",
                "depth": "12",
                "latitude": "40.81",
                "longitude": "79.08",
                "intensity": "4"
            },
            "No11": {
                "type": "reviewed",
                "time": "2024-05-31 07:24:19",
                "ReportTime": "2024-05-31 07:30:35",
                "location": "新疆阿克苏地区柯坪县",
                "magnitude": "3.1",
                "depth": "16",
                "latitude": "40.87",
                "longitude": "79.01",
                "intensity": "4"
            },
            "No12": {
                "type": "reviewed",
                "time": "2024-05-31 01:10:20",
                "ReportTime": "2024-05-31 01:16:50",
                "location": "四川凉山州木里县",
                "magnitude": "3.7",
                "depth": "8",
                "latitude": "28.21",
                "longitude": "100.66",
                "intensity": "5"
            },
            "No13": {
                "type": "reviewed",
                "time": "2024-05-30 23:52:16",
                "ReportTime": "2024-05-31 00:02:44",
                "location": "台湾花莲县海域",
                "magnitude": "4.0",
                "depth": "32",
                "latitude": "23.95",
                "longitude": "121.75",
                "intensity": "5"
            },
            "No14": {
                "type": "reviewed",
                "time": "2024-05-30 15:31:28",
                "ReportTime": "2024-05-30 15:37:14",
                "location": "新疆阿克苏地区沙雅县",
                "magnitude": "3.1",
                "depth": "20",
                "latitude": "41.02",
                "longitude": "83.35",
                "intensity": "4"
            },
            "No15": {
                "type": "reviewed",
                "time": "2024-05-30 11:24:26",
                "ReportTime": "2024-05-30 11:35:35",
                "location": "新疆和田地区于田县",
                "magnitude": "3.0",
                "depth": "10",
                "latitude": "36.59",
                "longitude": "82.48",
                "intensity": "4"
            },
            "No16": {
                "type": "reviewed",
                "time": "2024-05-30 09:11:38",
                "ReportTime": "2024-05-30 09:22:11",
                "location": "台湾花莲县海域",
                "magnitude": "4.5",
                "depth": "32",
                "latitude": "24.20",
                "longitude": "121.79",
                "intensity": "6"
            },
            "No17": {
                "type": "reviewed",
                "time": "2024-05-30 07:54:44",
                "ReportTime": "2024-05-30 08:04:38",
                "location": "台湾花莲县海域",
                "magnitude": "4.3",
                "depth": "17",
                "latitude": "24.01",
                "longitude": "121.86",
                "intensity": "6"
            },
            "No18": {
                "type": "reviewed",
                "time": "2024-05-30 06:45:22",
                "ReportTime": "2024-05-30 06:53:50",
                "location": "新疆阿克苏地区沙雅县",
                "magnitude": "3.7",
                "depth": "20",
                "latitude": "41.04",
                "longitude": "83.35",
                "intensity": "4"
            },
            "No19": {
                "type": "reviewed",
                "time": "2024-05-30 06:38:38",
                "ReportTime": "2024-05-30 06:46:39",
                "location": "四川凉山州木里县",
                "magnitude": "3.0",
                "depth": "14",
                "latitude": "28.25",
                "longitude": "100.68",
                "intensity": "3"
            },
            "No20": {
                "type": "reviewed",
                "time": "2024-05-29 21:13:24",
                "ReportTime": "2024-05-29 21:36:31",
                "location": "缅甸",
                "magnitude": "5.4",
                "depth": "90",
                "latitude": "23.55",
                "longitude": "94.50",
                "intensity": "6"
            },
            "No21": {
                "type": "reviewed",
                "time": "2024-05-29 09:05:10",
                "ReportTime": "2024-05-29 09:14:51",
                "location": "新疆阿克苏地区库车市",
                "magnitude": "4.1",
                "depth": "16",
                "latitude": "41.28",
                "longitude": "84.00",
                "intensity": "5"
            },
            "No22": {
                "type": "reviewed",
                "time": "2024-05-28 19:52:36",
                "ReportTime": "2024-05-28 20:20:51",
                "location": "印尼苏门答腊岛北部海域",
                "magnitude": "5.9",
                "depth": "20",
                "latitude": "2.80",
                "longitude": "95.30",
                "intensity": "7"
            },
            "No23": {
                "type": "reviewed",
                "time": "2024-05-28 09:13:02",
                "ReportTime": "2024-05-28 09:23:59",
                "location": "西藏阿里地区普兰县",
                "magnitude": "3.6",
                "depth": "10",
                "latitude": "30.16",
                "longitude": "81.26",
                "intensity": "4"
            },
            "No24": {
                "type": "reviewed",
                "time": "2024-05-27 21:53:34",
                "ReportTime": "2024-05-27 22:00:54",
                "location": "西藏林芝市察隅县",
                "magnitude": "3.2",
                "depth": "10",
                "latitude": "28.48",
                "longitude": "96.33",
                "intensity": "4"
            },
            "No25": {
                "type": "reviewed",
                "time": "2024-05-27 18:47:45",
                "ReportTime": "2024-05-27 18:55:59",
                "location": "四川凉山州木里县",
                "magnitude": "3.0",
                "depth": "10",
                "latitude": "28.23",
                "longitude": "100.69",
                "intensity": "4"
            },
            "No26": {
                "type": "reviewed",
                "time": "2024-05-27 18:39:16",
                "ReportTime": "2024-05-27 18:46:40",
                "location": "四川凉山州木里县",
                "magnitude": "4.1",
                "depth": "8",
                "latitude": "28.24",
                "longitude": "100.67",
                "intensity": "5"
            },
            "No27": {
                "type": "reviewed",
                "time": "2024-05-27 18:37:10",
                "ReportTime": "2024-05-27 18:42:45",
                "location": "四川凉山州木里县",
                "magnitude": "4.5",
                "depth": "8",
                "latitude": "28.24",
                "longitude": "100.70",
                "intensity": "6"
            },
            "No28": {
                "type": "reviewed",
                "time": "2024-05-27 16:43:55",
                "ReportTime": "2024-05-27 16:48:25",
                "location": "四川凉山州木里县",
                "magnitude": "3.0",
                "depth": "9",
                "latitude": "28.24",
                "longitude": "100.69",
                "intensity": "4"
            },
            "No29": {
                "type": "reviewed",
                "time": "2024-05-27 16:25:34",
                "ReportTime": "2024-05-27 16:33:09",
                "location": "四川凉山州木里县",
                "magnitude": "4.4",
                "depth": "9",
                "latitude": "28.25",
                "longitude": "100.68",
                "intensity": "6"
            },
            "No30": {
                "type": "reviewed",
                "time": "2024-05-27 11:07:10",
                "ReportTime": "2024-05-27 11:13:35",
                "location": "四川凉山州木里县",
                "magnitude": "5.0",
                "depth": "8",
                "latitude": "28.25",
                "longitude": "100.70",
                "intensity": "7"
            },
            "No31": {
                "type": "reviewed",
                "time": "2024-05-27 07:02:52",
                "ReportTime": "2024-05-27 07:18:02",
                "location": "西藏日喀则市昂仁县",
                "magnitude": "3.8",
                "depth": "10",
                "latitude": "30.56",
                "longitude": "86.31",
                "intensity": "5"
            },
            "No32": {
                "type": "reviewed",
                "time": "2024-05-27 06:19:56",
                "ReportTime": "2024-05-27 06:28:06",
                "location": "新疆克孜勒苏州阿合奇县",
                "magnitude": "3.7",
                "depth": "10",
                "latitude": "40.87",
                "longitude": "78.25",
                "intensity": "5"
            },
            "No33": {
                "type": "reviewed",
                "time": "2024-05-27 04:47:10",
                "ReportTime": "2024-05-27 05:18:15",
                "location": "汤加群岛",
                "magnitude": "6.6",
                "depth": "140",
                "latitude": "-19.55",
                "longitude": "-174.70",
                "intensity": "7"
            },
            "No34": {
                "type": "reviewed",
                "time": "2024-05-27 01:54:51",
                "ReportTime": "2024-05-27 02:03:54",
                "location": "新疆克孜勒苏州阿克陶县",
                "magnitude": "3.9",
                "depth": "125",
                "latitude": "38.29",
                "longitude": "75.17",
                "intensity": "3"
            },
            "No35": {
                "type": "reviewed",
                "time": "2024-05-26 19:10:29",
                "ReportTime": "2024-05-26 19:17:30",
                "location": "四川泸州市泸县",
                "magnitude": "3.0",
                "depth": "15",
                "latitude": "29.24",
                "longitude": "105.52",
                "intensity": "3"
            },
            "No36": {
                "type": "reviewed",
                "time": "2024-05-26 06:23:17",
                "ReportTime": "2024-05-26 06:49:52",
                "location": "瓦努阿图群岛",
                "magnitude": "6.2",
                "depth": "30",
                "latitude": "-17.10",
                "longitude": "167.95",
                "intensity": "7"
            },
            "No37": {
                "type": "reviewed",
                "time": "2024-05-26 06:03:33",
                "ReportTime": "2024-05-26 06:12:13",
                "location": "新疆喀什地区叶城县",
                "magnitude": "3.1",
                "depth": "90",
                "latitude": "36.78",
                "longitude": "77.06",
                "intensity": "2"
            },
            "No38": {
                "type": "reviewed",
                "time": "2024-05-25 17:28:55",
                "ReportTime": "2024-05-25 17:37:46",
                "location": "新疆阿克苏地区库车市",
                "magnitude": "3.0",
                "depth": "13",
                "latitude": "40.87",
                "longitude": "83.96",
                "intensity": "4"
            },
            "No39": {
                "type": "reviewed",
                "time": "2024-05-25 01:07:10",
                "ReportTime": "2024-05-25 01:30:08",
                "location": "台湾花莲县海域",
                "magnitude": "4.4",
                "depth": "21",
                "latitude": "24.22",
                "longitude": "121.84",
                "intensity": "6"
            },
            "No40": {
                "type": "reviewed",
                "time": "2024-05-24 21:15:42",
                "ReportTime": "2024-05-24 21:24:03",
                "location": "青海玉树州囊谦县",
                "magnitude": "3.1",
                "depth": "9",
                "latitude": "32.35",
                "longitude": "95.55",
                "intensity": "4"
            },
            "No41": {
                "type": "reviewed",
                "time": "2024-05-24 07:27:10",
                "ReportTime": "2024-05-24 07:33:31",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.0",
                "depth": "21",
                "latitude": "41.82",
                "longitude": "82.43",
                "intensity": "4"
            },
            "No42": {
                "type": "reviewed",
                "time": "2024-05-24 05:40:53",
                "ReportTime": "2024-05-24 05:48:54",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.0",
                "depth": "20",
                "latitude": "41.83",
                "longitude": "82.43",
                "intensity": "4"
            },
            "No43": {
                "type": "reviewed",
                "time": "2024-05-24 04:17:50",
                "ReportTime": "2024-05-24 04:26:48",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.4",
                "depth": "18",
                "latitude": "41.78",
                "longitude": "82.43",
                "intensity": "4"
            },
            "No44": {
                "type": "reviewed",
                "time": "2024-05-24 01:38:26",
                "ReportTime": "2024-05-24 01:45:16",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.4",
                "depth": "17",
                "latitude": "41.77",
                "longitude": "82.45",
                "intensity": "4"
            },
            "No45": {
                "type": "reviewed",
                "time": "2024-05-24 00:11:14",
                "ReportTime": "2024-05-24 00:18:33",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.6",
                "depth": "20",
                "latitude": "41.84",
                "longitude": "82.48",
                "intensity": "4"
            },
            "No46": {
                "type": "reviewed",
                "time": "2024-05-24 00:05:56",
                "ReportTime": "2024-05-24 00:14:25",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.8",
                "depth": "20",
                "latitude": "41.84",
                "longitude": "82.49",
                "intensity": "5"
            },
            "No47": {
                "type": "reviewed",
                "time": "2024-05-23 23:38:45",
                "ReportTime": "2024-05-23 23:46:36",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.2",
                "depth": "15",
                "latitude": "41.83",
                "longitude": "82.44",
                "intensity": "4"
            },
            "No48": {
                "type": "reviewed",
                "time": "2024-05-23 23:22:52",
                "ReportTime": "2024-05-23 23:30:33",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.2",
                "depth": "10",
                "latitude": "41.76",
                "longitude": "82.42",
                "intensity": "4"
            },
            "No49": {
                "type": "reviewed",
                "time": "2024-05-23 23:07:30",
                "ReportTime": "2024-05-23 23:14:24",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.3",
                "depth": "22",
                "latitude": "41.79",
                "longitude": "82.43",
                "intensity": "4"
            },
            "No50": {
                "type": "reviewed",
                "time": "2024-05-23 22:46:15",
                "ReportTime": "2024-05-23 22:53:07",
                "location": "新疆阿克苏地区拜城县",
                "magnitude": "3.2",
                "depth": "15",
                "latitude": "41.82",
                "longitude": "82.45",
                "intensity": "4"
            },
            "md5": "5e6bbec520604e7ce471fe9c5e8162d8"
        }
    }
}



回复

使用道具 举报

0

主题

15

帖子

216

积分

中级会员

Rank: 3Rank: 3

积分
216
金钱
201
HASS币
0
发表于 2024-6-3 07:53:33 | 显示全部楼层
谢谢分享
回复

使用道具 举报

0

主题

25

帖子

360

积分

中级会员

Rank: 3Rank: 3

积分
360
金钱
335
HASS币
0
发表于 2024-6-15 15:14:58 | 显示全部楼层

谢谢分享
回复

使用道具 举报

2

主题

33

帖子

192

积分

注册会员

Rank: 2

积分
192
金钱
159
HASS币
0
发表于 2024-6-21 13:14:52 | 显示全部楼层
厉害了我的楼主
回复

使用道具 举报

0

主题

28

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
184
HASS币
0
发表于 2024-6-22 08:52:12 | 显示全部楼层
学习了,谢谢谢谢谢谢
回复

使用道具 举报

1

主题

51

帖子

204

积分

中级会员

Rank: 3Rank: 3

积分
204
金钱
153
HASS币
0
发表于 2024-6-22 11:06:57 | 显示全部楼层

感谢分享
回复

使用道具 举报

0

主题

5

帖子

52

积分

注册会员

Rank: 2

积分
52
金钱
47
HASS币
0
发表于 2024-7-3 20:40:37 | 显示全部楼层
真是太棒了,终于可以显示天气温度了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 17:15 , Processed in 0.369483 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表