欧洲各国家天气预报接口对接,可预报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

相关文章

Ilya-AI分享的他在OpenAI学习到的15个提示工程技巧

Ilya(不是本人,claude AI)在社交媒体上分享了他在OpenAI学习到的15个Prompt撰写技巧。 以下是详细的内容: 提示精确化:在编写提示时,力求表达清晰准确。清楚地阐述任务需求和概念定义至关重要。例:不用"分析文本",而用"判断这段话的情感倾向:积极、消极还是中性"。 快速迭代:善于快速连续调整提示。熟练的提示工程师能够灵活地进行多轮优化。例:从"总结文章"到"用

这15个Vue指令,让你的项目开发爽到爆

1. V-Hotkey 仓库地址: github.com/Dafrok/v-ho… Demo: 戳这里 https://dafrok.github.io/v-hotkey 安装: npm install --save v-hotkey 这个指令可以给组件绑定一个或多个快捷键。你想要通过按下 Escape 键后隐藏某个组件,按住 Control 和回车键再显示它吗?小菜一碟: <template

揭秘世界上那些同时横跨两大洲的国家

我们在《世界人口过亿的一级行政区分布》盘点全球是那些人口过亿的一级行政区。 现在我们介绍五个横跨两州的国家,并整理七大洲和这些国家的KML矢量数据分析分享给大家,如果你需要这些数据,请在文末查看领取方式。 世界上横跨两大洲的国家 地球被分为七个大洲分别是亚洲、欧洲、北美洲、南美洲、非洲、大洋洲和南极洲。 七大洲示意图 其中,南极洲是无人居住的大陆,而其他六个大洲则孕育了众多国家和

Java 后端接口入参 - 联合前端VUE 使用AES完成入参出参加密解密

加密效果: 解密后的数据就是正常数据: 后端:使用的是spring-cloud框架,在gateway模块进行操作 <dependency><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>30.0-jre</version></dependency> 编写一个AES加密

【LabVIEW学习篇 - 21】:DLL与API的调用

文章目录 DLL与API调用DLLAPIDLL的调用 DLL与API调用 LabVIEW虽然已经足够强大,但不同的语言在不同领域都有着自己的优势,为了强强联合,LabVIEW提供了强大的外部程序接口能力,包括DLL、CIN(C语言接口)、ActiveX、.NET、MATLAB等等。通过DLL可以使用户很方便地调用C、C++、C#、VB等编程语言写的程序以及windows自带的大

如何更优雅地对接第三方API

如何更优雅地对接第三方API 本文所有示例完整代码地址:https://github.com/yu-linfeng/BlogRepositories/tree/master/repositories/third 我们在日常开发过程中,有不少场景会对接第三方的API,例如第三方账号登录,第三方服务等等。第三方服务会提供API或者SDK,我依稀记得早些年Maven还没那么广泛使用,通常要对接第三方

java线程深度解析(一)——java new 接口?匿名内部类给你答案

http://blog.csdn.net/daybreak1209/article/details/51305477 一、内部类 1、内部类初识 一般,一个类里主要包含类的方法和属性,但在Java中还提出在类中继续定义类(内部类)的概念。 内部类的定义:类的内部定义类 先来看一个实例 [html]  view plain copy pu

Java基础回顾系列-第五天-高级编程之API类库

Java基础回顾系列-第五天-高级编程之API类库 Java基础类库StringBufferStringBuilderStringCharSequence接口AutoCloseable接口RuntimeSystemCleaner对象克隆 数字操作类Math数学计算类Random随机数生成类BigInteger/BigDecimal大数字操作类 日期操作类DateSimpleDateForma

模拟实现vector中的常见接口

insert void insert(iterator pos, const T& x){if (_finish == _endofstorage){int n = pos - _start;size_t newcapacity = capacity() == 0 ? 2 : capacity() * 2;reserve(newcapacity);pos = _start + n;//防止迭代

Adblock Plus官方规则Easylist China说明与反馈贴(2015.12.15)

-------------------------------特别说明--------------------------------------- 视频广告问题:因Adblock Plus的局限,存在以下现象,优酷、搜狐、17173黑屏并倒数;乐视、爱奇艺播放广告。因为这些视频网站的Flash播放器被植入了检测代码,而Adblock Plus无法修改播放器。 如需同时使用ads