首页 > 其他分享 >欧洲各国家天气预报接口对接,可预报15日天气api

欧洲各国家天气预报接口对接,可预报15日天气api

时间:2024-08-30 19:23:17浏览次数:5  
标签:15 String humidity windSpeed api Winds phrase 天气预报 uvIndex

接口说明

地图上有的城市都可以返回天气数据,支持20余种语言。
包含基本天气信息、湿度、能见度、气压、降雨概率、日出日落、月初月落、空气质量指数、主要污染物等,可按地名、IP、经纬度坐标查询。


对接准备

请先注册账号获取appid和appsecret, 可以免费测试, 测试后需要购买接口

官网接口文档:http://www.tianqiapis.com/index/doc/month

请求方式:GET

请求示例 (我用的是当前测试账号, 如果报错, 可以去官网文档查看最新测试账号)

http://pitaya.tianqiapis.com/?version=day&unit=m&language=en&query=洛杉矶&appid=test&appsecret=test888

请求参数

参数名必选类型说明备注(示例)
appidstring用户appid先注册开发账号
appsecretstring用户appsecret
versionstring接口标识固定值: day全球实况天气 (最多支持15日天气)
querystring查询参数如: 北京东京New York 也支持坐标传值如:36.68,116.99
languagestring语言标识默认中文,更多语言联系客服 英文: en 日文: jp 德语: de 法语: fr 韩语: kr 俄语: ru 葡萄牙: pt 西班牙: es 萨特阿拉伯: sa 意大利: it 泰语: th 越南: vi-VN 菲律宾: tl-PH 印度尼西亚: id-ID 希腊: el-GR 波兰: pl-PL 土耳其: tr 罗马尼亚: ro 巴基斯坦: ur-PK 伊朗: fa-IR
unitstring温度单位摄氏度m,华氏度f

响应参数说明

参数名 类型 说明 备注
updateTime String UTC时间
updateTimeFormat String 更新时间
timeZone String 所在时区
city String 城市名称
country String 国家名称
longitude String 经度
latitude String 纬度
day String 今日天气情况 含每小时详细预报等
┗ icon String 天气现象代码 查看Icon汇总表
┗ feelsLike String 体感温度 单位为c摄氏度或f华氏度
┗ temperature String 温度 单位为c摄氏度或f华氏度
┗ temperatureMaxSince7am String 最高温度 单位为c摄氏度或f华氏度
┗ phrase String 天气情况 例如:小阵雨
┗ altimeter String 气压 m百帕 f英寸
┗ barometerTrend String 气压趋势 例如:升温
┗ humidity String 相对湿度 0~100,单位为百分比
┗ dewPoint String 露点温度
┗ visibility String 能见度 单位为km公里或mi英里
┗ windSpeed String 风速 单位为km/h公里每小时或mph英里每小时
┗ windDirCompass String 风向标 例如:东南偏东
┗ windDirDegrees String 风向角度 范围0~360,0为正北,90为正东,180为正南,270为正西
┗ uvIndex String 紫外线等级
┗ uvDescription String 紫外线等级描述 0~2: 低
3~5: 中等
6~7: 强
8~9: 很强
10: 极强
┗ aqi String 空气质量指数
┗ ┗ AIR String 空气质量指数 amount: 今日空气质量, index: 等级描述, pp: 主要污染物
┗ ┗ CO String 一氧化碳 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ ┗ NO2 String 二氧化氮 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ ┗ O3 String 臭氧 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ ┗ PM10 String 10微米以下细颗粒物 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ ┗ PM2.5 String 2.5微米以下细颗粒物 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ ┗ SO2 String 二氧化硫 amount: 浓度µg/m3, index: 数值, category: 等级描述
┗ hours String 小时天气
┗ time String 预报时间 例如:10:15
┗ timeUtc Int 预报时间戳 例如:1616922726
┗ wea String 天气情况 例如:雷阵雨
┗ wea_img String 天气情况图标 固定9种类型(您也可以根据wea字段自己处理):
xue、lei、shachen、wu、bingbao、yun、yu、yin、qing
┗ tem Int 温度
┗ temfeels Int 体感温度
┗ precipPct Int 降雨概率 例如:10, 表示10%
┗ humidity String 湿度
┗ dayOrNight String 白天/夜晚 D表示白天, N表示夜晚
┗ cloudCover Int 云量
┗ wind String 风向风速 例如:东南 5 公里 /小时
┗ icon String 天气现象代码 查看Icon汇总表
┗ uvIndex Int 紫外线数值
┗ month String 1-15日预报
┗ date String 日期 例如:2020-02-14
┗ dateOfWeek String 星期 例如:星期天
┗ sunrise String 日出时间
┗ sunset String 日落时间
┗ moonrise String 月出时间
┗ moonset String 月落时间
┗ moonIcon String 图标
┗ moonPhrase String 月相
┗ day / night String 白天天气 / 夜间天气
┗ phrase String 天气情况
┗ narrative String 天气情况叙述 例如:大部晴朗。 最高 16ºC。 东北 风 15 到 25 每 km / h 。
┗ precipPct String 降雨概率
┗ precipType String 降雨标识
┗ temperature String 温度
┗ uvIndex String 紫外线等级
┗ uvDescription String 紫外线等级描述
┗ cloudPct String 多云概率
┗ windDirCompass String 风向
┗ windDirDegrees String 风向角度
┗ windSpeed String 风速
┗ humidity String 湿度

返回JSON

{
    "errcode":0,
    "errmsg":"SUCCESS",
    "updateTime":"2023-09-04T07:43:31-0700",
    "updateTimeFormat":"2023-09-04 07:43:31",
    "timeZone":"America/Los_Angeles",
    "city":"Los Angeles",
    "country":"United States",
    "latitude":"34.054",
    "longitude":"-118.243",
    "day":{
        "icon":"34",
        "feelsLike":"18",
        "temperature":"18",
        "temperatureMaxSince7am":"18",
        "phrase":"Fair",
        "phrase_img":"qing",
        "altimeter":"1013.55",
        "barometerTrend":"Rising",
        "humidity":"83",
        "dewPoint":"15",
        "visibility":"16.09",
        "windSpeed":"2",
        "windDirCompass":"E",
        "windDirDegrees":"90",
        "uvIndex":"0",
        "uvDescription":"Low",
        "aqi":{
            "CO":{
                "amount":"330",
                "index":"2",
                "category":"Good"
            },
            "NO2":{
                "amount":"26.67",
                "index":"13",
                "category":"Good"
            },
            "O3":{
                "amount":"3.38",
                "index":"7",
                "category":"Good"
            },
            "PM10":{
                "amount":"21.75",
                "index":"19",
                "category":"Good"
            },
            "PM2.5":{
                "amount":"13.26",
                "index":"54",
                "category":"Moderate"
            },
            "SO2":{
                "amount":"11.2",
                "index":"6",
                "category":"Good"
            }
        },
        "hours":[
            {
                "time":"08:00",
                "timeUtc":1693785600,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":30,
                "tem":19,
                "temfeels":19,
                "uvIndex":1,
                "pressure":1013.7,
                "humidity":81,
                "dayOrNight":"D",
                "cloudCover":41,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SE",
                "windSpeed":1,
                "precipPct":2
            },
            {
                "time":"09:00",
                "timeUtc":1693789200,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":30,
                "tem":20,
                "temfeels":20,
                "uvIndex":2,
                "pressure":1013.6,
                "humidity":75,
                "dayOrNight":"D",
                "cloudCover":39,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SSE",
                "windSpeed":1,
                "precipPct":2
            },
            {
                "time":"10:00",
                "timeUtc":1693792800,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":30,
                "tem":22,
                "temfeels":22,
                "uvIndex":5,
                "pressure":1013.6,
                "humidity":68,
                "dayOrNight":"D",
                "cloudCover":30,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SSE",
                "windSpeed":1,
                "precipPct":1
            },
            {
                "time":"11:00",
                "timeUtc":1693796400,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":23,
                "temfeels":23,
                "uvIndex":7,
                "pressure":1013.2,
                "humidity":59,
                "dayOrNight":"D",
                "cloudCover":16,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"S",
                "windSpeed":2,
                "precipPct":1
            },
            {
                "time":"12:00",
                "timeUtc":1693800000,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":24,
                "temfeels":24,
                "uvIndex":9,
                "pressure":1012.57,
                "humidity":55,
                "dayOrNight":"D",
                "cloudCover":10,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SSW",
                "windSpeed":4,
                "precipPct":0
            },
            {
                "time":"13:00",
                "timeUtc":1693803600,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":25,
                "temfeels":25,
                "uvIndex":9,
                "pressure":1011.9,
                "humidity":53,
                "dayOrNight":"D",
                "cloudCover":5,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SSW",
                "windSpeed":6,
                "precipPct":0
            },
            {
                "time":"14:00",
                "timeUtc":1693807200,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":25,
                "temfeels":25,
                "uvIndex":8,
                "pressure":1011.22,
                "humidity":55,
                "dayOrNight":"D",
                "cloudCover":5,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":9,
                "precipPct":0
            },
            {
                "time":"15:00",
                "timeUtc":1693810800,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":25,
                "temfeels":25,
                "uvIndex":6,
                "pressure":1010.67,
                "humidity":56,
                "dayOrNight":"D",
                "cloudCover":5,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":11,
                "precipPct":0
            },
            {
                "time":"16:00",
                "timeUtc":1693814400,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":25,
                "temfeels":25,
                "uvIndex":4,
                "pressure":1010.22,
                "humidity":56,
                "dayOrNight":"D",
                "cloudCover":3,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":12,
                "precipPct":0
            },
            {
                "time":"17:00",
                "timeUtc":1693818000,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":24,
                "temfeels":24,
                "uvIndex":2,
                "pressure":1009.97,
                "humidity":56,
                "dayOrNight":"D",
                "cloudCover":2,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":11,
                "precipPct":0
            },
            {
                "time":"18:00",
                "timeUtc":1693821600,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":24,
                "temfeels":24,
                "uvIndex":0,
                "pressure":1009.97,
                "humidity":59,
                "dayOrNight":"D",
                "cloudCover":1,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":10,
                "precipPct":1
            },
            {
                "time":"19:00",
                "timeUtc":1693825200,
                "wea":"Sunny",
                "wea_img":"qing",
                "icon":32,
                "tem":22,
                "temfeels":22,
                "uvIndex":0,
                "pressure":1010,
                "humidity":65,
                "dayOrNight":"D",
                "cloudCover":2,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":9,
                "precipPct":2
            },
            {
                "time":"20:00",
                "timeUtc":1693828800,
                "wea":"Clear",
                "wea_img":"qing",
                "icon":31,
                "tem":21,
                "temfeels":21,
                "uvIndex":0,
                "pressure":1010.38,
                "humidity":72,
                "dayOrNight":"N",
                "cloudCover":3,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SW",
                "windSpeed":6,
                "precipPct":4
            },
            {
                "time":"21:00",
                "timeUtc":1693832400,
                "wea":"Clear",
                "wea_img":"qing",
                "icon":31,
                "tem":20,
                "temfeels":21,
                "uvIndex":0,
                "pressure":1010.8,
                "humidity":76,
                "dayOrNight":"N",
                "cloudCover":3,
                "dayOfWeek":"Monday",
                "visibility":16,
                "wind":"SSW",
                "windSpeed":3,
                "precipPct":5
            },
            {
                "time":"22:00",
                "timeUtc":1693836000,
                "wea":"Clear",
                "wea_img":"qing",
                "icon":31,
                "tem":20,
                "temfeels":20,
                "uvIndex":0,
                "pressure":1011,
                "humidity":79,
                "dayOrNight":"N",
                "cloudCover":3,
                "dayOfWeek":"Monday",
                "visibility":14,
                "wind":"SSE",
                "windSpeed":3,
                "precipPct":5
            },
            {
                "time":"23:00",
                "timeUtc":1693839600,
                "wea":"Clear",
                "wea_img":"qing",
                "icon":31,
                "tem":20,
                "temfeels":20,
                "uvIndex":0,
                "pressure":1011,
                "humidity":81,
                "dayOrNight":"N",
                "cloudCover":5,
                "dayOfWeek":"Monday",
                "visibility":12,
                "wind":"SE",
                "windSpeed":2,
                "precipPct":6
            },
            {
                "time":"00:00",
                "timeUtc":1693843200,
                "wea":"Clear",
                "wea_img":"qing",
                "icon":31,
                "tem":19,
                "temfeels":20,
                "uvIndex":0,
                "pressure":1011,
                "humidity":81,
                "dayOrNight":"N",
                "cloudCover":7,
                "dayOfWeek":"Tuesday",
                "visibility":11,
                "wind":"SE",
                "windSpeed":2,
                "precipPct":7
            },
            {
                "time":"01:00",
                "timeUtc":1693846800,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":29,
                "tem":19,
                "temfeels":20,
                "uvIndex":0,
                "pressure":1010.9,
                "humidity":83,
                "dayOrNight":"N",
                "cloudCover":34,
                "dayOfWeek":"Tuesday",
                "visibility":10,
                "wind":"ESE",
                "windSpeed":2,
                "precipPct":7
            },
            {
                "time":"02:00",
                "timeUtc":1693850400,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":29,
                "tem":19,
                "temfeels":19,
                "uvIndex":0,
                "pressure":1010.7,
                "humidity":84,
                "dayOrNight":"N",
                "cloudCover":40,
                "dayOfWeek":"Tuesday",
                "visibility":9,
                "wind":"ESE",
                "windSpeed":3,
                "precipPct":7
            },
            {
                "time":"03:00",
                "timeUtc":1693854000,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":29,
                "tem":19,
                "temfeels":19,
                "uvIndex":0,
                "pressure":1010.6,
                "humidity":86,
                "dayOrNight":"N",
                "cloudCover":48,
                "dayOfWeek":"Tuesday",
                "visibility":9,
                "wind":"ESE",
                "windSpeed":3,
                "precipPct":7
            },
            {
                "time":"04:00",
                "timeUtc":1693857600,
                "wea":"Partly Cloudy",
                "wea_img":"yun",
                "icon":29,
                "tem":18,
                "temfeels":19,
                "uvIndex":0,
                "pressure":1010.6,
                "humidity":87,
                "dayOrNight":"N",
                "cloudCover":56,
                "dayOfWeek":"Tuesday",
                "visibility":9,
                "wind":"SE",
                "windSpeed":3,
                "precipPct":7
            },
            {
                "time":"05:00",
                "timeUtc":1693861200,
                "wea":"Mostly Cloudy",
                "wea_img":"yun",
                "icon":27,
                "tem":18,
                "temfeels":18,
                "uvIndex":0,
                "pressure":1010.8,
                "humidity":89,
                "dayOrNight":"N",
                "cloudCover":61,
                "dayOfWeek":"Tuesday",
                "visibility":9,
                "wind":"ESE",
                "windSpeed":3,
                "precipPct":7
            },
            {
                "time":"06:00",
                "timeUtc":1693864800,
                "wea":"Mostly Cloudy",
                "wea_img":"yun",
                "icon":27,
                "tem":18,
                "temfeels":18,
                "uvIndex":0,
                "pressure":1011.1,
                "humidity":88,
                "dayOrNight":"N",
                "cloudCover":66,
                "dayOfWeek":"Tuesday",
                "visibility":10,
                "wind":"ESE",
                "windSpeed":2,
                "precipPct":9
            },
            {
                "time":"07:00",
                "timeUtc":1693868400,
                "wea":"Mostly Cloudy",
                "wea_img":"yun",
                "icon":28,
                "tem":18,
                "temfeels":18,
                "uvIndex":0,
                "pressure":1011.5,
                "humidity":89,
                "dayOrNight":"D",
                "cloudCover":72,
                "dayOfWeek":"Tuesday",
                "visibility":10,
                "wind":"SE",
                "windSpeed":2,
                "precipPct":7
            }
        ]
    },
    "month":[
        {
            "date":"2023-09-04",
            "dateOfWeek":"Monday",
            "sunrise":"06:28",
            "sunset":"19:14",
            "moonrise":"22:14",
            "moonset":"11:40",
            "moonIcon":"WNG",
            "moonPhrase":"Waning Gibbous",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. High 26C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"2",
                "precipType":"rain",
                "temperature":"26",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"18",
                "windDirCompass":"SSW",
                "windDirDegrees":"198",
                "windSpeed":"12",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"63"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"Clear to partly cloudy. Low 18C. Winds light and variable.",
                "precipPct":"9",
                "precipType":"rain",
                "temperature":"18",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"27",
                "windDirCompass":"SE",
                "windDirDegrees":"146",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"81"
            }
        },
        {
            "date":"2023-09-05",
            "dateOfWeek":"Tuesday",
            "sunrise":"06:29",
            "sunset":"19:13",
            "moonrise":"22:52",
            "moonset":"12:48",
            "moonIcon":"WNG",
            "moonPhrase":"Waning Gibbous",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. High 26C. Winds light and variable.",
                "precipPct":"7",
                "precipType":"rain",
                "temperature":"26",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"29",
                "windDirCompass":"S",
                "windDirDegrees":"177",
                "windSpeed":"10",
                "windPhrase":"Winds light and variable.",
                "humidity":"68"
            },
            "night":{
                "phrase":"Mostly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies in the evening, then becoming cloudy overnight. Low 18C. Winds light and variable.",
                "precipPct":"8",
                "precipType":"rain",
                "temperature":"18",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"27",
                "cloudPct":"50",
                "windDirCompass":"S",
                "windDirDegrees":"174",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"84"
            }
        },
        {
            "date":"2023-09-06",
            "dateOfWeek":"Wednesday",
            "sunrise":"06:30",
            "sunset":"19:11",
            "moonrise":"23:36",
            "moonset":"13:52",
            "moonIcon":"LQ",
            "moonPhrase":"Last Quarter",
            "day":{
                "phrase":"AM Clouds/PM Sun",
                "phrase_img":"yun",
                "narrative":"Mostly cloudy early, then afternoon sunshine. High 27C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"7",
                "precipType":"rain",
                "temperature":"27",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"32",
                "windDirCompass":"SSW",
                "windDirDegrees":"203",
                "windSpeed":"11",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"68"
            },
            "night":{
                "phrase":"Mostly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies early will become overcast later during the night. Low 16C. Winds light and variable.",
                "precipPct":"6",
                "precipType":"rain",
                "temperature":"16",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"27",
                "cloudPct":"47",
                "windDirCompass":"SSE",
                "windDirDegrees":"158",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"88"
            }
        },
        {
            "date":"2023-09-07",
            "dateOfWeek":"Thursday",
            "sunrise":"06:30",
            "sunset":"19:10",
            "moonrise":"",
            "moonset":"14:52",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Some clouds in the morning will give way to mainly sunny skies for the afternoon. High 28C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"5",
                "precipType":"rain",
                "temperature":"28",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"29",
                "windDirCompass":"SSW",
                "windDirDegrees":"211",
                "windSpeed":"11",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"61"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"Clear to partly cloudy. Low 16C. Winds light and variable.",
                "precipPct":"4",
                "precipType":"rain",
                "temperature":"16",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"15",
                "windDirCompass":"SE",
                "windDirDegrees":"141",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"78"
            }
        },
        {
            "date":"2023-09-08",
            "dateOfWeek":"Friday",
            "sunrise":"06:31",
            "sunset":"19:09",
            "moonrise":"00:26",
            "moonset":"15:46",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. High 31C. Winds light and variable.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"31",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"9",
                "windDirCompass":"SW",
                "windDirDegrees":"219",
                "windSpeed":"10",
                "windPhrase":"Winds light and variable.",
                "humidity":"44"
            },
            "night":{
                "phrase":"Clear",
                "phrase_img":"qing",
                "narrative":"Clear skies. Low 19C. Winds light and variable.",
                "precipPct":"1",
                "precipType":"rain",
                "temperature":"19",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"31",
                "cloudPct":"5",
                "windDirCompass":"SE",
                "windDirDegrees":"129",
                "windSpeed":"7",
                "windPhrase":"Winds light and variable.",
                "humidity":"58"
            }
        },
        {
            "date":"2023-09-09",
            "dateOfWeek":"Saturday",
            "sunrise":"06:32",
            "sunset":"19:07",
            "moonrise":"01:20",
            "moonset":"16:33",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Mostly Sunny",
                "phrase_img":"qing",
                "narrative":"Except for a few afternoon clouds, mainly sunny. High 33C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"1",
                "precipType":"rain",
                "temperature":"33",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"34",
                "cloudPct":"15",
                "windDirCompass":"SSW",
                "windDirDegrees":"203",
                "windSpeed":"11",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"35"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"Mainly clear early, then a few clouds later on. Low 21C. Winds light and variable.",
                "precipPct":"0",
                "precipType":"rain",
                "temperature":"21",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"26",
                "windDirCompass":"SE",
                "windDirDegrees":"124",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"49"
            }
        },
        {
            "date":"2023-09-10",
            "dateOfWeek":"Sunday",
            "sunrise":"06:32",
            "sunset":"19:06",
            "moonrise":"02:18",
            "moonset":"17:13",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy. High 33C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"0",
                "precipType":"rain",
                "temperature":"33",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"28",
                "windDirCompass":"SSW",
                "windDirDegrees":"193",
                "windSpeed":"11",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"36"
            },
            "night":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy in the evening with more clouds for later at night. Low near 20C. Winds light and variable.",
                "precipPct":"0",
                "precipType":"rain",
                "temperature":"20",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"29",
                "cloudPct":"58",
                "windDirCompass":"SE",
                "windDirDegrees":"135",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"56"
            }
        },
        {
            "date":"2023-09-11",
            "dateOfWeek":"Monday",
            "sunrise":"06:33",
            "sunset":"19:05",
            "moonrise":"03:16",
            "moonset":"17:47",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. High 33C. Winds S at 10 to 15 km/h.",
                "precipPct":"0",
                "precipType":"rain",
                "temperature":"33",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"50",
                "windDirCompass":"S",
                "windDirDegrees":"185",
                "windSpeed":"11",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"42"
            },
            "night":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. Low 19C. Winds light and variable.",
                "precipPct":"2",
                "precipType":"rain",
                "temperature":"19",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"29",
                "cloudPct":"50",
                "windDirCompass":"SSE",
                "windDirDegrees":"149",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"68"
            }
        },
        {
            "date":"2023-09-12",
            "dateOfWeek":"Tuesday",
            "sunrise":"06:34",
            "sunset":"19:03",
            "moonrise":"04:15",
            "moonset":"18:17",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy. High 29C. Winds S at 10 to 15 km/h.",
                "precipPct":"1",
                "precipType":"rain",
                "temperature":"29",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"29",
                "windDirCompass":"S",
                "windDirDegrees":"188",
                "windSpeed":"11",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"51"
            },
            "night":{
                "phrase":"Mostly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies in the evening, then becoming cloudy overnight. Low 18C. Winds light and variable.",
                "precipPct":"5",
                "precipType":"rain",
                "temperature":"18",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"27",
                "cloudPct":"55",
                "windDirCompass":"SSE",
                "windDirDegrees":"149",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"78"
            }
        },
        {
            "date":"2023-09-13",
            "dateOfWeek":"Wednesday",
            "sunrise":"06:35",
            "sunset":"19:02",
            "moonrise":"05:13",
            "moonset":"18:44",
            "moonIcon":"WNC",
            "moonPhrase":"Waning Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Some clouds in the morning will give way to mainly sunny skies for the afternoon. High 26C. Winds S at 10 to 15 km/h.",
                "precipPct":"4",
                "precipType":"rain",
                "temperature":"26",
                "uvIndex":"9",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"26",
                "windDirCompass":"S",
                "windDirDegrees":"170",
                "windSpeed":"10",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"62"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"A few clouds overnight. Low 17C. Winds light and variable.",
                "precipPct":"5",
                "precipType":"rain",
                "temperature":"17",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"27",
                "windDirCompass":"SSE",
                "windDirDegrees":"154",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"84"
            }
        },
        {
            "date":"2023-09-14",
            "dateOfWeek":"Thursday",
            "sunrise":"06:35",
            "sunset":"19:01",
            "moonrise":"06:09",
            "moonset":"19:08",
            "moonIcon":"N",
            "moonPhrase":"New Moon",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Some clouds in the morning will give way to mainly sunny skies for the afternoon. High 26C. Winds S at 10 to 15 km/h.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"26",
                "uvIndex":"8",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"21",
                "windDirCompass":"S",
                "windDirDegrees":"183",
                "windSpeed":"11",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"64"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"A few clouds overnight. Low 16C. Winds light and variable.",
                "precipPct":"5",
                "precipType":"rain",
                "temperature":"16",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"22",
                "windDirCompass":"SSE",
                "windDirDegrees":"158",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"86"
            }
        },
        {
            "date":"2023-09-15",
            "dateOfWeek":"Friday",
            "sunrise":"06:36",
            "sunset":"18:59",
            "moonrise":"07:05",
            "moonset":"19:31",
            "moonIcon":"N",
            "moonPhrase":"New Moon",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Some clouds in the morning will give way to mainly sunny skies for the afternoon. High around 25C. Winds S at 10 to 15 km/h.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"25",
                "uvIndex":"8",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"20",
                "windDirCompass":"S",
                "windDirDegrees":"187",
                "windSpeed":"10",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"65"
            },
            "night":{
                "phrase":"Mostly Clear",
                "phrase_img":"qing",
                "narrative":"Clear to partly cloudy. Low 16C. Winds light and variable.",
                "precipPct":"5",
                "precipType":"rain",
                "temperature":"16",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"33",
                "cloudPct":"28",
                "windDirCompass":"SSE",
                "windDirDegrees":"152",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"84"
            }
        },
        {
            "date":"2023-09-16",
            "dateOfWeek":"Saturday",
            "sunrise":"06:37",
            "sunset":"18:58",
            "moonrise":"08:01",
            "moonset":"19:55",
            "moonIcon":"WXC",
            "moonPhrase":"Waxing Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. High near 25C. Winds S at 10 to 15 km/h.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"25",
                "uvIndex":"8",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"30",
                "windDirCompass":"S",
                "windDirDegrees":"184",
                "windSpeed":"11",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"63"
            },
            "night":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"A few clouds from time to time. Low 17C. Winds light and variable.",
                "precipPct":"4",
                "precipType":"rain",
                "temperature":"17",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"29",
                "cloudPct":"35",
                "windDirCompass":"SSE",
                "windDirDegrees":"150",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"81"
            }
        },
        {
            "date":"2023-09-17",
            "dateOfWeek":"Sunday",
            "sunrise":"06:37",
            "sunset":"18:56",
            "moonrise":"08:59",
            "moonset":"20:21",
            "moonIcon":"WXC",
            "moonPhrase":"Waxing Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Some clouds in the morning will give way to mainly sunny skies for the afternoon. High 26C. Winds S at 10 to 15 km/h.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"26",
                "uvIndex":"8",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"25",
                "windDirCompass":"S",
                "windDirDegrees":"189",
                "windSpeed":"11",
                "windPhrase":"Winds S at 10 to 15 km/h.",
                "humidity":"61"
            },
            "night":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy skies. Low 17C. Winds light and variable.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"17",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"29",
                "cloudPct":"36",
                "windDirCompass":"SSE",
                "windDirDegrees":"156",
                "windSpeed":"9",
                "windPhrase":"Winds light and variable.",
                "humidity":"80"
            }
        },
        {
            "date":"2023-09-18",
            "dateOfWeek":"Monday",
            "sunrise":"06:38",
            "sunset":"18:55",
            "moonrise":"09:58",
            "moonset":"20:49",
            "moonIcon":"WXC",
            "moonPhrase":"Waxing Crescent",
            "day":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"Partly cloudy. High 27C. Winds SSW at 10 to 15 km/h.",
                "precipPct":"2",
                "precipType":"rain",
                "temperature":"27",
                "uvIndex":"8",
                "uvDescription":"Very High",
                "icon":"30",
                "cloudPct":"26",
                "windDirCompass":"SSW",
                "windDirDegrees":"194",
                "windSpeed":"10",
                "windPhrase":"Winds SSW at 10 to 15 km/h.",
                "humidity":"59"
            },
            "night":{
                "phrase":"Partly Cloudy",
                "phrase_img":"yun",
                "narrative":"A few clouds. Low 17C. Winds light and variable.",
                "precipPct":"3",
                "precipType":"rain",
                "temperature":"17",
                "uvIndex":"0",
                "uvDescription":"Low",
                "icon":"29",
                "cloudPct":"42",
                "windDirCompass":"SSE",
                "windDirDegrees":"157",
                "windSpeed":"8",
                "windPhrase":"Winds light and variable.",
                "humidity":"78"
            }
        }
    ]
}

标签:15,String,humidity,windSpeed,api,Winds,phrase,天气预报,uvIndex
From: https://blog.csdn.net/qq_38832501/article/details/141725278

相关文章

  • PY32F002A单片机开发板 PY32F002AF15P6开发板 32位MCU,M0+内核
    PY32F002A开发板上搭载的是PY32F002AF15P6单片机,TSSOP20封装,开发板使用TypeC接口供电,可以用来对PY32F002A芯片进行开发调试。PY32F002A开发板推荐使用我们的PY32link来下载仿真,绝大部分的STlink,Jlink,DAPlink也可以下载仿真,需自行测试。开发资料齐全,提供了LL库和HAL库,支持IAR......
  • Capital许可分析的最佳实践
    在快速变化的软件许可环境中,企业如何确保合规性并优化成本?Capital许可分析为此提供了解决方案。通过深入探讨Capital许可分析的最佳实践,并结合实际案例,本文将为企业展示如何实现合规与成本的双赢。一、明确目标与策略成功的Capital许可分析始于明确的目标与策略。某大型制造企业......
  • Pydantic 详解:FastAPI 中的数据验证神器
    FastAPI是一个现代的、快速的Web框架,用于构建API。它基于ASGI(AsynchronousServerGatewayInterface),这使得FastAPI能够支持异步请求处理,从而提供高性能的Web服务。FastAPI利用Python类型提示来增强开发体验,通过类型提示进行自动的数据验证和自动文档生成。Py......
  • 在实施电商API接口对接时,有哪些常见的挑战和解决方案?
    在实施电商API接口对接时,企业可能会面临一些常见的挑战,以下是这些挑战以及相应的解决方案:理解API文档:首先,需要深入理解电商平台提供的API文档,这是成功对接的前提。可以通过阅读官方文档、参与培训或社区讨论来加深理解。保护API密钥:API密钥是调用API的身份验证凭证,一旦泄露就会......
  • 地图APP开源项目分享,免费影像数据API开发更便捷!
    在APP开发中集成卫星影像数据API可以极大地丰富应用程序的功能和用户体验,星图云APP自助开源项目则恰好为广大的开发者提供了一个简单又快速的实现方式。星图云APP开源项目介绍:本项目是一个开源的移动应用开发模版,旨在帮助人们快速搭建一个具备数字地球基本功能的应用程序,并根据......
  • API接口对接电商平台好在哪?
    在数字化商业的浪潮中,电商平台的效率和智能化水平成为了企业成功的关键。电商API接口作为连接不同系统和应用的桥梁,提供了一种高效、灵活的解决方案。本文将探讨使用电商API接口对接电商平台的优势。一、自动化的力量电商API接口允许自动化执行一系列任务,从订单处理到库存管理,无......
  • API接口对接电商平台好在哪?
    在数字化商业的浪潮中,电商平台的效率和智能化水平成为了企业成功的关键。电商API接口作为连接不同系统和应用的桥梁,提供了一种高效、灵活的解决方案。本文将探讨使用电商API接口对接电商平台的优势。一、自动化的力量电商API接口允许自动化执行一系列任务,从订单处理到库存管理,无需......
  • P3320 [SDOI2015] 寻宝游戏 与 P10930 异象石 与 CF176E Archaeology
    思路:考虑按照dfn序将关键点的集合排序后为\(a_0,a_1,\cdots,a_k\),则答案为:\[\frac{\sum\limits_{i=0}^k\operatorname{dis}(a_i,a_{(i+1)\bmodk})}{2}\]简单证明一下:需要找出包含一些关键点的最小联通导出子图。则随便以一个关键点为根,对于子树内没有关键点的子树直接......
  • Windows安全日志分析实战:15个关键事件ID详解
    Windows安全日志分析实战:15个关键事件ID详解原创 VlangCN HW安全之路  2024年08月27日07:30 山东各位读者朋友们好,我是v浪。都2024年了,浪哥估计又阳了。但是没关系,今天同样大家带来一篇实用性很强的文章-Windows关键事件ID盘点。作为网络安全从业人员,了解这些......
  • 如何使用clouddrive 在QNAP 威联通中挂载阿里云盘、天翼云盘、115网盘等
    hello大家好,我是你们的新伙伴,稳重的大王~创作立场:原创不易,拒绝搬运~》》日常求粉~QNAP威联通自带的hybridmount以及HBS3,虽然可以做到挂载、同步网盘数据,但是支持的国内网盘有限,本文给大家介绍一款非常好用的软件——clouddrive文章后面贴上app安装包下载地址,下载下来之后,......