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

2024-08-31 04:20

本文主要是介绍欧洲各国家天气预报接口对接,可预报15日天气api,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

接口说明

地图上有的城市都可以返回天气数据,支持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日天气api的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1122873

相关文章

go中空接口的具体使用

《go中空接口的具体使用》空接口是一种特殊的接口类型,它不包含任何方法,本文主要介绍了go中空接口的具体使用,具有一定的参考价值,感兴趣的可以了解一下... 目录接口-空接口1. 什么是空接口?2. 如何使用空接口?第一,第二,第三,3. 空接口几个要注意的坑坑1:坑2:坑3:接口-空接口1. 什么是空接

基于Flask框架添加多个AI模型的API并进行交互

《基于Flask框架添加多个AI模型的API并进行交互》:本文主要介绍如何基于Flask框架开发AI模型API管理系统,允许用户添加、删除不同AI模型的API密钥,感兴趣的可以了解下... 目录1. 概述2. 后端代码说明2.1 依赖库导入2.2 应用初始化2.3 API 存储字典2.4 路由函数2.5 应

如何用java对接微信小程序下单后的发货接口

《如何用java对接微信小程序下单后的发货接口》:本文主要介绍在微信小程序后台实现发货通知的步骤,包括获取Access_token、使用RestTemplate调用发货接口、处理AccessTok... 目录配置参数 调用代码获取Access_token调用发货的接口类注意点总结配置参数 首先需要获取Ac

讯飞webapi语音识别接口调用示例代码(python)

《讯飞webapi语音识别接口调用示例代码(python)》:本文主要介绍如何使用Python3调用讯飞WebAPI语音识别接口,重点解决了在处理语音识别结果时判断是否为最后一帧的问题,通过运行代... 目录前言一、环境二、引入库三、代码实例四、运行结果五、总结前言基于python3 讯飞webAPI语音

MyBatis-Plus中Service接口的lambdaUpdate用法及实例分析

《MyBatis-Plus中Service接口的lambdaUpdate用法及实例分析》本文将详细讲解MyBatis-Plus中的lambdaUpdate用法,并提供丰富的案例来帮助读者更好地理解和应... 目录深入探索MyBATis-Plus中Service接口的lambdaUpdate用法及示例案例背景

Java8需要知道的4个函数式接口简单教程

《Java8需要知道的4个函数式接口简单教程》:本文主要介绍Java8中引入的函数式接口,包括Consumer、Supplier、Predicate和Function,以及它们的用法和特点,文中... 目录什么是函数是接口?Consumer接口定义核心特点注意事项常见用法1.基本用法2.结合andThen链

C#集成DeepSeek模型实现AI私有化的流程步骤(本地部署与API调用教程)

《C#集成DeepSeek模型实现AI私有化的流程步骤(本地部署与API调用教程)》本文主要介绍了C#集成DeepSeek模型实现AI私有化的方法,包括搭建基础环境,如安装Ollama和下载DeepS... 目录前言搭建基础环境1、安装 Ollama2、下载 DeepSeek R1 模型客户端 ChatBo

Java调用DeepSeek API的最佳实践及详细代码示例

《Java调用DeepSeekAPI的最佳实践及详细代码示例》:本文主要介绍如何使用Java调用DeepSeekAPI,包括获取API密钥、添加HTTP客户端依赖、创建HTTP请求、处理响应、... 目录1. 获取API密钥2. 添加HTTP客户端依赖3. 创建HTTP请求4. 处理响应5. 错误处理6.

Deepseek R1模型本地化部署+API接口调用详细教程(释放AI生产力)

《DeepseekR1模型本地化部署+API接口调用详细教程(释放AI生产力)》本文介绍了本地部署DeepSeekR1模型和通过API调用将其集成到VSCode中的过程,作者详细步骤展示了如何下载和... 目录前言一、deepseek R1模型与chatGPT o1系列模型对比二、本地部署步骤1.安装oll

浅析如何使用Swagger生成带权限控制的API文档

《浅析如何使用Swagger生成带权限控制的API文档》当涉及到权限控制时,如何生成既安全又详细的API文档就成了一个关键问题,所以这篇文章小编就来和大家好好聊聊如何用Swagger来生成带有... 目录准备工作配置 Swagger权限控制给 API 加上权限注解查看文档注意事项在咱们的开发工作里,API