π¦ ClawHub
Weather Wttr.In
by @etmnb
Retrieve current weather and short-term forecasts worldwide via wttr.in, including temperature, humidity, wind, UV, and precipitation without requiring an AP...
TERMINAL
clawhub install weather-wttr-inπ About This Skill
name: weather-wttr.in description: Get weather data from wttr.in free service. Triggers on: weather, forecast, temperature, rain, UV, humidity, wind. Free, no API key required. Python 3.6+, no pip packages. Works on Windows/macOS/Linux.
weather-wttr.in
Free weather data via wttr.in. No registration, no API key. Cross-platform: Windows / macOS / Linux (Python 3.6+ only, no pip packages).
Usage
# Current weather + forecast (auto-detect IP location)
python scripts/weather.pyCity name
python scripts/weather.py Beijing
python scripts/weather.py "New York"GPS coordinates
python scripts/weather.py "35.31,113.87"Forecast only (--today shows daily summary)
python scripts/weather.py Beijing --todayJSON output (programmatic use)
python scripts/weather.py Beijing --jsonChinese language
python scripts/weather.py Beijing --lang=zh
Python Requirements
urllib, json, sys)Notes
--lang=zhπ‘ Examples
# Current weather + forecast (auto-detect IP location)
python scripts/weather.pyCity name
python scripts/weather.py Beijing
python scripts/weather.py "New York"GPS coordinates
python scripts/weather.py "35.31,113.87"Forecast only (--today shows daily summary)
python scripts/weather.py Beijing --todayJSON output (programmatic use)
python scripts/weather.py Beijing --jsonChinese language
python scripts/weather.py Beijing --lang=zh
π Tips & Best Practices
--lang=zh