Weather

获取当前天气和预报(无需 API 密钥)。

该技能提供两种免费的天气服务,无需任何 API 密钥:

wttr.in(主要服务)

快速单行命令 支持多种格式化输出 可生成 PNG 图片 Open-Meteo(备用服务)

免费,无需密钥 适合程序化使用 返回 JSON 格式数据 主要功能和用法:

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 - 月相

v1.0.0 2026-07-10
下载