返回顶部
w

weather获取天气与预报

Get current weather and forecasts (no API key required).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
94
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

weather

天气

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

wttr.in(主要)

快速单行命令:
bash
curl -s wttr.in/London?format=3

输出:London: ⛅️ +8°C

紧凑格式:
bash
curl -s wttr.in/London?format=%l:+%c+%t+%h+%w

输出:London: ⛅️ +8°C 71% ↙5km/h

完整预报:
bash
curl -s wttr.in/London?T

格式代码:%c 天气状况 · %t 温度 · %h 湿度 · %w 风速 · %l 地点 · %m 月相

提示:

  • - URL编码空格:wttr.in/New+York
  • 机场代码:wttr.in/JFK
  • 单位:?m(公制)?u(美制)
  • 仅今日:?1 · 仅当前:?0
  • PNG:curl -s wttr.in/Berlin.png -o /tmp/weather.png

Open-Meteo(备用,JSON格式)

免费,无需密钥,适合程序化使用:
bash
curl -s https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true

查找城市坐标,然后查询。返回包含温度、风速、天气代码的JSON数据。

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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 weather-test-1775970492 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 weather-test-1775970492 技能

通过命令行安装

skillhub install weather-test-1775970492

下载

⬇ 下载 weather v1.0.0(免费)

文件大小: 1.28 KB | 发布时间: 2026-4-13 12:32

v1.0.0 最新 2026-4-13 12:32
- Initial release: Get current weather and forecasts with wttr.in (default) or Open-Meteo (fallback), no API key required.
- Example curl commands provided for quick, compact, and full weather forecasts.
- Supports weather for cities and airport codes; options for metric/USCS units and forecast image output.
- Open-Meteo integration offers JSON-format weather for programmatic use.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部