腾讯天气接口

腾讯天气 官方网站 城市接口 天气接口 官方网站 https:tianqi.qq 城市接口 https:wis.qqcitylike 参数名称 含义 source 请求类型: pcwx city 城市名:深圳 实例:

腾讯天气

    • 官方网站
    • 城市接口
    • 天气接口

官方网站

https://tianqi.qq/

城市接口

https://wis.qq/city/like

参数名称 含义
source 请求类型: pc/wx
city 城市名:深圳
实例:
https://wis.qq.com/city/like?source=pc&city=深圳

{
   
   
    "data":{
   
   
        "101280601":"广东, 深圳"
    },
    "message":"OK",
    "status":200
}

天气接口

https://wis.qq/weather/common

参数名称 含义
source 请求类型: pc/wx
province 省份:广东
city 城市:深圳
county 县区:龙岗区
callback 回调函数 不传直接返回json
weather_type observe 当前天气
weather_type forecast_1h
weather_type forecast_24h
weather_type index 穿衣,舒适度等
weather_type alarm 预警
weather_type tips 天气介绍
weather_type air 空气质量
weather_type rise 日出
weather_type 查询类型,多个|分隔
{
   
   
    "data": {
   
   
        "forecast_24h": {
   
   
            "0": {
   
   
                "day_weather": "多云",
                "day_weather_code": "01",
                "day_weather_short": "多云",
                "day_wind_direction": "东风",
                "day_wind_direction_code": "2",
                "day_wind_power": "3",
                "day_wind_power_code": "0",
                "max_degree": "7",
                "min_degree": "-2",
                "night_weather": "晴",
                "night_weather_code": "00",
                "night_weather_short": "晴",
                "night_wind_direction": "南风",
                "night_wind_direction_code": "4",
                "night_wind_power": "3",
                "night_wind_power_code": "0"

发布者:admin,转转请注明出处:http://www.yc00.com/web/1755010763a5225924.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信