Get current weather and forecasts (no API key required).
两项免费服务,无需API密钥。
快速单行查询:
bash
curl -s wttr.in/London?format=3
紧凑格式:
bash
curl -s wttr.in/London?format=%l:+%c+%t+%h+%w
完整预报:
bash
curl -s wttr.in/London?T
格式代码:%c 天气状况 · %t 温度 · %h 湿度 · %w 风速 · %l 地点 · %m 月相
提示:
免费,无需密钥,适合程序化使用:
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
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 mars-weather-pro-1775912776 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 mars-weather-pro-1775912776 技能
skillhub install mars-weather-pro-1775912776
文件大小: 1.31 KB | 发布时间: 2026-4-12 10:31