稳定、快速、免费的 API 接口服务
共收录了 26 个接口
接口地址: 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":"东南风"}]}}
错误码格式说明:
名称 | 类型 | 说明 |
---|
代码示例:
友情连接