免费的天气接口api(腾讯)
请求URL:
https://wis.qq.com/weather/common
请求方式:
GET
参数:
参数名 必选 类型 说明
source 是 string pc
weather_type 是 string observe
province 是 string 省
city 是 string 市
county 是 string 县
请求示例
https://wis.qq.com/weather/common?source=pc&weather_type=observe&province=四川&city=成都&county=成华区
返回示例
{
"data": {
"observe": {
"degree": "30",
"humidity": "43",
"precipitation": "0",
"pressure": "957",
"update_time": "202405161055",
"weather": "多云",
"weather_bg_pag": "",
"weather_code": "01",
"weather_color": null,
"weather_first": "",
"weather_pag": "",
"weather_short": "多云",
"weather_url": "",
"wind_direction": "3",
"wind_direction_name": "东南风",
"wind_power": "3-4"
}
},
"message": "OK",
"status": 200
}
如果想要更多的返回信息
请求示例:https://wis.qq.com/weather/common?source=pc&weather_type=observe|forecast_1h|forecast_24h|index|alarm|limit|tips|rise&province=四川&city=成都&county=双流区
{
"data": {
"alarm": {
},
"forecast_1h": {
"0": {
"degree": "25",
"update_time": "20240517100000",
"weather": "多云",
"weather_code": "01",
"weather_short": "多云",
"weather_url": "",
"wind_direction": "东南风",
"wind_power": "1-3"
},
"1": {
"degree": "26",
"update_time": "20240517110000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"2": {
"degree": "26",
"update_time": "20240517120000",
"weather": "阴",
"weather_code": "02",
"weather_short": "阴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"3": {
"degree": "27",
"update_time": "20240517130000",
"weather": "阴",
"weather_code": "02",
"weather_short": "阴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"4": {
"degree": "27",
"update_time": "20240517140000",
"weather": "阴",
"weather_code": "02",
"weather_short": "阴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"5": {
"degree": "28",
"update_time": "20240517150000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"6": {
"degree": "29",
"update_time": "20240517160000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"7": {
"degree": "29",
"update_time": "20240517170000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"8": {
"degree": "28",
"update_time": "20240517180000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"9": {
"degree": "27",
"update_time": "20240517190000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"10": {
"degree": "26",
"update_time": "20240517200000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"11": {
"degree": "25",
"update_time": "20240517210000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"12": {
"degree": "25",
"update_time": "20240517220000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"13": {
"degree": "24",
"update_time": "20240517230000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"14": {
"degree": "22",
"update_time": "20240518000000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"15": {
"degree": "21",
"update_time": "20240518010000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"16": {
"degree": "19",
"update_time": "20240518020000",
"weather": "多云",
"weather_code": "01",
"weather_short": "多云",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"17": {
"degree": "19",
"update_time": "20240518030000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"18": {
"degree": "19",
"update_time": "20240518040000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"19": {
"degree": "19",
"update_time": "20240518050000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"20": {
"degree": "20",
"update_time": "20240518060000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"21": {
"degree": "20",
"update_time": "20240518070000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"22": {
"degree": "21",
"update_time": "20240518080000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"23": {
"degree": "22",
"update_time": "20240518090000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"24": {
"degree": "24",
"update_time": "20240518100000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"25": {
"degree": "25",
"update_time": "20240518110000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"26": {
"degree": "26",
"update_time": "20240518120000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"27": {
"degree": "27",
"update_time": "20240518130000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"28": {
"degree": "28",
"update_time": "20240518140000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"29": {
"degree": "27",
"update_time": "20240518150000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"30": {
"degree": "27",
"update_time": "20240518160000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"31": {
"degree": "26",
"update_time": "20240518170000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"32": {
"degree": "25",
"update_time": "20240518180000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"33": {
"degree": "25",
"update_time": "20240518190000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"34": {
"degree": "24",
"update_time": "20240518200000",
"weather": "小雨",
"weather_code": "07",
"weather_short": "小雨",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"35": {
"degree": "23",
"update_time": "20240518210000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"36": {
"degree": "23",
"update_time": "20240518220000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"37": {
"degree": "22",
"update_time": "20240518230000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"38": {
"degree": "21",
"update_time": "20240519000000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"39": {
"degree": "21",
"update_time": "20240519010000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"40": {
"degree": "20",
"update_time": "20240519020000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"41": {
"degree": "20",
"update_time": "20240519030000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"42": {
"degree": "20",
"update_time": "20240519040000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"43": {
"degree": "20",
"update_time": "20240519050000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "北风",
"wind_power": "1-3"
},
"44": {
"degree": "20",
"update_time": "20240519060000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "东北风",
"wind_power": "1-3"
},
"45": {
"degree": "20",
"update_time": "20240519070000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "东南风",
"wind_power": "1-3"
},
"46": {
"degree": "20",
"update_time": "20240519080000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "南风",
"wind_power": "1-3"
},
"47": {
"degree": "21",
"update_time": "20240519090000",
"weather": "晴",
"weather_code": "00",
"weather_short": "晴",
"weather_url": "",
"wind_direction": "南风",
"wind_power": "1-3"
}
},
"forecast_24h": {
"0": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "阴",
"day_weather_code": "02",
"day_weather_short": "阴",
"day_weather_url": "",
"day_wind_direction": "西南风",
"day_wind_direction_code": "5",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "31",
"min_degree": "20",
"night_weather": "阴",
"night_weather_code": "02",
"night_weather_short": "阴",
"night_weather_url": "",
"night_wind_direction": "北风",
"night_wind_direction_code": "8",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-16"
},
"1": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "阴",
"day_weather_code": "02",
"day_weather_short": "阴",
"day_weather_url": "",
"day_wind_direction": "北风",
"day_wind_direction_code": "8",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "30",
"min_degree": "19",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "北风",
"night_wind_direction_code": "8",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-17"
},
"2": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "小雨",
"day_weather_code": "07",
"day_weather_short": "小雨",
"day_weather_url": "",
"day_wind_direction": "北风",
"day_wind_direction_code": "8",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "29",
"min_degree": "19",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "南风",
"night_wind_direction_code": "4",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-18"
},
"3": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "小雨",
"day_weather_code": "07",
"day_weather_short": "小雨",
"day_weather_url": "",
"day_wind_direction": "南风",
"day_wind_direction_code": "4",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "30",
"min_degree": "19",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "南风",
"night_wind_direction_code": "4",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-19"
},
"4": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "多云",
"day_weather_code": "01",
"day_weather_short": "多云",
"day_weather_url": "",
"day_wind_direction": "微风",
"day_wind_direction_code": "0",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "31",
"min_degree": "20",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "微风",
"night_wind_direction_code": "0",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-20"
},
"5": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "多云",
"day_weather_code": "01",
"day_weather_short": "多云",
"day_weather_url": "",
"day_wind_direction": "微风",
"day_wind_direction_code": "0",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "31",
"min_degree": "20",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "微风",
"night_wind_direction_code": "0",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-21"
},
"6": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "多云",
"day_weather_code": "01",
"day_weather_short": "多云",
"day_weather_url": "",
"day_wind_direction": "微风",
"day_wind_direction_code": "0",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "32",
"min_degree": "21",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "微风",
"night_wind_direction_code": "0",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-22"
},
"7": {
"aqi_level": 0,
"aqi_name": "",
"aqi_url": "",
"day_weather": "多云",
"day_weather_code": "01",
"day_weather_short": "多云",
"day_weather_url": "",
"day_wind_direction": "微风",
"day_wind_direction_code": "0",
"day_wind_power": "1-3",
"day_wind_power_code": "0",
"max_degree": "33",
"min_degree": "22",
"night_weather": "多云",
"night_weather_code": "01",
"night_weather_short": "多云",
"night_weather_url": "",
"night_wind_direction": "微风",
"night_wind_direction_code": "0",
"night_wind_power": "1-3",
"night_wind_power_code": "0",
"time": "2024-05-23"
}
},
"index": {
"airconditioner": {
"detail": "天气热,到中午的时候您将会感到有点热,因此建议在午后较热时开启制冷空调。",
"info": "部分时间开启",
"name": "空调开启"
},
"allergy": {
"detail": "天气条件不易诱发过敏,除特殊体质外,无需担心过敏问题。",
"info": "不易发",
"name": "过敏"
},
"carwash": {
"detail": "较适宜洗车,未来一天无雨,风力较小,擦洗一新的汽车至少能保持一天。",
"info": "较适宜",
"name": "洗车"
},
"chill": {
"detail": "温度未达到风寒所需的低温,稍作防寒准备即可。",
"info": "无",
"name": "风寒"
},
"clothes": {
"detail": "天气热,建议着短裙、短裤、短薄外套、T恤等夏季服装。",
"info": "热",
"name": "穿衣"
},
"cold": {
"detail": "各项气象条件适宜,发生感冒机率较低。但请避免长期处于空调房间中,以防感冒。",
"info": "少发",
"name": "感冒"
},
"comfort": {
"detail": "白天天气以多云到阴为主,日照虽然不强,但仍会使您感到有些热,不很舒适。",
"info": "较不舒适",
"name": "舒适度"
},
"diffusion": {
"detail": "气象条件较不利于空气污染物稀释、扩散和清除。",
"info": "较差",
"name": "空气污染扩散条件"
},
"dry": {
"detail": "阴天,路面比较干燥,路况较好。",
"info": "干燥",
"name": "路况"
},
"drying": {
"detail": "天气阴沉,不利于水分的迅速蒸发,不太适宜晾晒。若需要晾晒,请尽量选择通风的地点。",
"info": "不太适宜",
"name": "晾晒"
},
"fish": {
"detail": "天气不好,有风,不适合垂钓。",
"info": "不宜",
"name": "钓鱼"
},
"heatstroke": {
"detail": "天气不热,在炎炎夏日中十分难得,可以告别暑气漫漫啦~",
"info": "无中暑风险",
"name": "中暑"
},
"makeup": {
"detail": "天气较热,建议用露质面霜打底,水质无油粉底霜,透明粉饼,粉质胭脂。",
"info": "去油",
"name": "化妆"
},
"mood": {
"detail": "天气阴沉,会感觉莫名的压抑,情绪低落,此时将所有的悲喜都静静地沉到心底,在喧嚣的尘世里,感受片刻恬淡的宁静。",
"info": "较差",
"name": "心情"
},
"morning": {
"detail": "早晨气象条件较适宜晨练,但天气阴沉,风力稍大,请选择合适的地点晨练。",
"info": "较适宜",
"name": "晨练"
},
"sports": {
"detail": "天气较好,较适宜进行各种运动,但因天气热,请适当减少运动时间,降低运动强度。",
"info": "较适宜",
"name": "运动"
},
"sunglasses": {
"detail": "白天天空阴沉,但太阳辐射很强,建议佩戴透射比2级且标注UV400的浅色太阳镜",
"info": "很必要",
"name": "太阳镜"
},
"sunscreen": {
"detail": "属弱紫外辐射天气,长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。",
"info": "弱",
"name": "防晒"
},
"time": "20240517",
"tourism": {
"detail": "天气较好,感觉有些热,总体来说还是好天气哦。适宜旅游,可不要错过机会呦",
"info": "适宜",
"name": "旅游"
},
"traffic": {
"detail": "阴天,路面干燥,交通气象条件良好,车辆可以正常行驶。",
"info": "良好",
"name": "交通"
},
"ultraviolet": {
"detail": "属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。",
"info": "最弱",
"name": "紫外线强度"
},
"umbrella": {
"detail": "阴天,但降水概率很低,因此您在出门的时候无须带雨伞。",
"info": "不带伞",
"name": "雨伞"
}
},
"limit": {
"tail_number": "5和0",
"time": "20240517"
},
"observe": {
"degree": "26",
"humidity": "61",
"precipitation": "0",
"pressure": "953",
"update_time": "202405171015",
"weather": "阴",
"weather_bg_pag": "",
"weather_code": "02",
"weather_color": null,
"weather_first": "",
"weather_pag": "",
"weather_short": "阴",
"weather_url": "",
"wind_direction": "5",
"wind_direction_name": "西南风",
"wind_power": "3-4"
},
"rise": {
"0": {
"sunrise": "06:08",
"sunset": "19:53",
"time": "20240517"
},
"1": {
"sunrise": "06:07",
"sunset": "19:53",
"time": "20240518"
},
"2": {
"sunrise": "06:07",
"sunset": "19:54",
"time": "20240519"
},
"3": {
"sunrise": "06:06",
"sunset": "19:55",
"time": "20240520"
},
"4": {
"sunrise": "06:06",
"sunset": "19:55",
"time": "20240521"
},
"5": {
"sunrise": "06:05",
"sunset": "19:56",
"time": "20240522"
},
"6": {
"sunrise": "06:05",
"sunset": "19:56",
"time": "20240523"
},
"7": {
"sunrise": "06:04",
"sunset": "19:57",
"time": "20240524"
},
"8": {
"sunrise": "06:04",
"sunset": "19:58",
"time": "20240525"
},
"9": {
"sunrise": "06:04",
"sunset": "19:58",
"time": "20240526"
},
"10": {
"sunrise": "06:03",
"sunset": "19:59",
"time": "20240527"
},
"11": {
"sunrise": "06:03",
"sunset": "19:59",
"time": "20240528"
},
"12": {
"sunrise": "06:03",
"sunset": "20:00",
"time": "20240529"
},
"13": {
"sunrise": "06:02",
"sunset": "20:01",
"time": "20240530"
},
"14": {
"sunrise": "06:02",
"sunset": "20:01",
"time": "20240531"
}
},
"tips": {
"forecast_24h": null,
"observe": {
"0": "天有点冷,注意保暖~",
"1": "现在的温度比较舒适~"
}
}
},
"message": "OK",
"status": 200
}
目前找到免费且稳定的就是这个api,如果后续找出来会继续更新!
免费的天气接口api(腾讯)的更多相关文章
- 开源免费的天气预报接口API以及全国所有地区代码(国家气象局提供)
天气预报一直是各大网站的一个基本功能,最近小编也想在网站上弄一个,得瑟一下,在网络搜索了很久,终于找到了开源免费的天气预报接口API以及全国所有地区代码(国家气象局提供),具体如下: 国家气象局提供的 ...
- PHP调用百度天气接口API
//百度天气接口API $location = "北京"; //地区 $ak = "5slgyqGDENN7Sy7pw29IUvrZ"; //秘钥,需要申请,百 ...
- 百度天气接口api
百度天气接口 以GET形式提交,返回JSON或XML URL:http://api.map.baidu.com/telematics/v3/weather?location={城市名}&out ...
- 免费的天气API
高德地图天气 天气查询-API文档 请求示例: { "status": "1", "count": "1", " ...
- 免费的天气API测试接口
网上几乎所有的天气接口都需要注册key,然后还各种频率限制,每天调用次数才几百次? 太坑爹了吧 一个简单的天气预报功能, 为什么要搞的这么复杂, 收什么费? 推荐一个真正免费的天气API接口, 返回j ...
- ajax调用免费的天气API
最近在做项目中要用到调用天气接口,在网上找了很多资料之后发现https://www.tianqiapi.com/的天气API挺好的,好用而且免费,调用也很简单.在此做个笔记,大家一起学习交流,如有问题 ...
- # 初体验之腾讯位置服务彩云天气开发者api
初体验 最近接触到了boxjs,看到了里面一个比较有意思的彩云天气的脚本,由于自己本身就是彩云天气pro的用户,日常使用过程中感觉到彩云的降雨提醒还是挺方便的,于是就准备开始使用这个天气的脚本. 脚本 ...
- 如何用天气预警API接口进行快速开发
天气预警能够指导人们出行.同一种类的气象灾害预警信号级别不同,对应的防御措施也不尽相同,人们通过气象灾害预警信号,合理安排出行.公众要提高防范意识,养成接收和关注预警信息的习惯,了解预警信息背后的意义 ...
- Google地图接口API之申请免费API Key(一)
使用谷歌地图API V3创建交互式地图,首先需要拥有一个免费的 Google 地图 API key. 如果想调用Google地图的接口,首先需要拥有一个免费的 Google 地图 API key.想要 ...
- 免费手机号码归属地API查询接口和PHP使用实例分享
免费手机号码归属地API查询接口和PHP使用实例分享 最近在做全国性的行业分类信息网站,需要用到手机号归属地显示功能,于是就穿梭于各大权威站点之间偷来了API的接口地址. 分享出来,大家可以用到就拿去 ...
随机推荐
- Mybatis源代码分析之类型转换
ORM框架最重要功能是将面向对象方法中的对象和关系型数据库中的表关联了起来,在关联过程中就必然涉及到对象中的数据类型和数据库中的表字段类型的转换,Mybatis中的org.apache.ibatis. ...
- 基于surging的木舟平台如何分布式接入设备
一.概述 上篇文章介绍了木舟通过基于木舟平台浅谈surging 的热点KEY的解决方法,那么此篇文章将介绍基于surging的木舟平台如何分布式接入设备. 木舟 (Kayak) 是什么? 木舟(Kay ...
- Vue.js 文本行滚动
1.前言 文本行滚动组件,效果如图 2.封装思路 封装一个组件,接收一个数组,每个数组元素就是一个段文本 组件使用httpVueLoader进行封装加载 使用css位移,配合过渡效果才展示动画 滚动逻 ...
- fastadmin-表格使用
1.弹窗页面大小 <div id="toolbar" class="toolbar"> <a data-area='["90%&qu ...
- 【C++】类的继承的深入探讨
继承是扩展现有类并为基类提供新功能的一种方式. 本文主要探讨一个问题:子类会包含父类所包含的一切吗? 起初,作者认为这个问题的答案是否定的,因为子类无法访问父类的private成员 但是,运行下述一个 ...
- orangepi zero3 使用dd命令进行SD卡系统备份与还原
1. 使用dd命令备份整个sd卡 首先使用 df -h命令查看sd卡挂载名,如下所示,sd卡挂载为 /dev/sdc meng@meng:~/桌面/code$ df -h 文件系统 大小 已用 可用 ...
- 助推乡村振兴,四川农担X中电金信大数据智能风控平台彰显“榜样的力量”
在2024年3月召开的两会上,政府工作报告首次提到了要大力发展科技金融.绿色金融.普惠金融.养老金融.数字金融,为深入推进金融高质量发展,走中国特色金融发展之路指明了方向.其中,四川农担作为一家专注 ...
- WSLg 中文输入法 fcitx5
随着 Win11 22H2 和 WSLg 的推出,很多开启输入法的教程都过时了.记录一下最新实践: WSL 安装 Ubuntu 后,安装中文语言 sudo /usr/bin/gnome-languag ...
- 利用H2的自定义函数更好的支持测试
在写DAO层的单元测试时,用mock的写法意义不大,因为DAO层的测试更多的关注是Java对象的传递和生成SQL的正确性,所以需要链接真实的数据库. 但是对于单元测试,真实的数据库是很重的,还要依赖于 ...
- OpenCV4.1.0中的GPU版本的SURF特征点提取类的命名空间、所在头文件和类名
OpenCV4.1.0中的GPU版本的SURF特征点提取类的命名空间.所在头文件和类名情况如下: 类名:cv::cuda::SURF_CUDA 所在的命名空间:cv::cuda 所在头文件:$\bui ...