天气信息查询
根据 IP 查询对应城市的天气信息(支持未来 1-3 天预报)。key 可省略,默认使用临时测试 Key。
接口路径
/api/weather
◆ 示例代码
curl
curl "https://api.kabule.cn/api/weather?ip=39.159.31.255&days=3"根据 IP 查询对应城市的天气信息(支持未来 1-3 天预报)。key 可省略,默认使用临时测试 Key。
/api/weather
curl "https://api.kabule.cn/api/weather?ip=39.159.31.255&days=3"