获取城市天气(新)
通过城市名称获取城市天气,新接口。

阿里云新人推荐alyxrtj腾讯云服务器txyfwq

接口地址: https://collect.xmwxxc.com/collect/wether1/

返回格式: JSON

请求方式: GET

请求示例: https://collect.xmwxxc.com/collect/wether1/?city=北京

请求参数说明:

名称 必填 类型 说明
city string 城市名称

返回参数说明:

名称 类型 说明

返回示例:

{"code":1,"msg":"ok","time":"1624602778","data":{"city":"北京","realtime":{"temperature":"26","humidity":"70","info":"多云","wid":"01","direct":"东南风","power":"3级","aqi":"49"},"future":[{"date":"2021-06-25","temperature":"22\/28℃","weather":"雷阵雨转多云","wid":{"day":"04","night":"01"},"direct":"南风"},{"date":"2021-06-26","temperature":"23\/33℃","weather":"雷阵雨转多云","wid":{"day":"04","night":"01"},"direct":"东南风"},{"date":"2021-06-27","temperature":"23\/34℃","weather":"多云","wid":{"day":"01","night":"01"},"direct":"东风"},{"date":"2021-06-28","temperature":"23\/35℃","weather":"晴","wid":{"day":"00","night":"00"},"direct":"东南风"},{"date":"2021-06-29","temperature":"23\/34℃","weather":"多云","wid":{"day":"01","night":"01"},"direct":"东南风"}]}}

错误码格式说明:

名称 类型 说明

代码示例:

无限星辰工作室| 无限星辰技术博客| 集热爱圈| 厦门生活网| 厦门社区网| 无限星辰技术网| 厦门商页吧| 有趣游戏| 星熠文化| 集导航| 厦门空间网| 厦门无限星辰| crx349博客| 星辰站分享| discuz资源分享站| 星辰个人付款码管理平台| 星辰php加密平台| 星辰免费API| 星辰工具箱| 星辰字帖生成器| 星辰谜语生成器| 星辰网站在线图标生成| 高考倒计时| 星辰在线图片压缩| 新冠病毒防疫指南| 星辰SSL自签名证书生成| KMS在线激活Bat生成| 繁星客服| 密码在线生成| 毒鸡汤语录| 星辰动态DNS解析平台| 星辰伪原创工具| 星辰聚合搜索引擎| MD5在线生成| 网站缩略图| 星辰AI象棋| 星辰多合一图床| 国庆头像生成| 人生重开模拟器| 怀旧游戏模拟器| 星辰站长工具| 星辰日记账本| 留洋汇-留学汇款| 留学院校搜索| 飘洋过海|