π¦ ClawHub
Weather Test
by @erhwenkuo
Get current weather and forecasts (no API key required).
TERMINAL
clawhub install weather-testπ About This Skill
name: weather description: Get current weather and forecasts (no API key required). homepage: https://wttr.in/:help metadata: {"nanobot":{"emoji":"π€οΈ","requires":{"bins":["curl"]}}}
Weather
Two free services, no API keys needed.
wttr.in (primary)
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)?1 Β· Current only: ?0curl -s "wttr.in/Berlin.png" -o /tmp/weather.pngOpen-Meteo (fallback, JSON)
Free, 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.
Docs: https://open-meteo.com/en/docs