Weather
Use wttr.in for weather queries. No API key needed.
Quick Check
curl -s "wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
Detailed 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
| Code | Meaning |
|---|---|
%c |
Condition (emoji) |
%t |
Temperature |
%h |
Humidity |
%w |
Wind |
%l |
Location |
%m |
Moon phase |
Tips
- URL-encode spaces:
wttr.in/New+York - Airport codes work:
wttr.in/JFK - Units:
?m(metric),?u(USCS) - Today only:
?1 - Current only:
?0 - PNG output:
curl -s "wttr.in/Berlin.png" -o /tmp/weather.png
Converted and distributed by TomeVault — claim your Tome and manage your conversions.