WWeather

Weather免 API 天气命令行工具

浏览23下载0
资料更新2026-05-12来源观测2026-09-03

介绍

快速判断

两项免费服务,无需 API 密钥。

适合谁
OpenClaw 使用者、AI 工作流维护者、提示词与技能包用户
使用门槛
低,可直接试用
部署方式
本地运行
接入方式
来源
Weather

两项免费服务,无需 API 密钥。

wttr.in(主要)

curl -s "wttr.in/London?format=3" # 输出:伦敦:⛅️ +8°C 紧凑格式:

curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w" # 输出:伦敦:⛅️ +8°C 71% ↙5km/h 完整预报:

curl -s "wttr.in/London?T" 格式代码:%c 状况 · %t 温度 · %h 湿度 · %w 风 · %l 位置 · %m 月亮

Open-Meteo(后备,JSON)

免费,无密钥,适合编程使用:

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true" 查找城市坐标,然后查询。返回包含温度、风速、天气代码的 JSON。

文档:https://open-meteo.com/en/docs

@steipete

@steipete

ClawHub 创作者
8文章0粉丝231浏览

资源档案