GET 工具 调用 3 次

天气信息查询

根据 IP 查询对应城市的天气信息(支持未来 1-3 天预报)。key 可省略,默认使用临时测试 Key。

接口路径 /api/weather
API文档 状态码 示例代码

示例代码

curl
curl "https://api.kabule.cn/api/weather?ip=39.159.31.255&days=3"