Two free services, no API keys needed.
Quick one-liner:
curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
Compact format:
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
Full forecast:
curl -s "wttr.in/London?T"
Format codes: %c condition · %t temp · %h humidity · %w wind · %l location · %m moon
Tips:
wttr.in/New+Yorkwttr.in/JFK?m (metric) ?u (USCS)想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
?1 · Current only: ?0curl -s "wttr.in/Berlin.png" -o /tmp/weather.pngFree, no key, good for programmatic use:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.
这是一个天气查询指南类 Skill,文档写得清晰易懂,提供了免费查询天气的方法,不需要注册账号。使用免费 API 的设计不错,但整体功能比较简单,只是教你怎么查询,没有实际可用的工具。内容偏文档性质,实际使用需要用户自己操作。质量中规中矩,有进一步完善的潜力。