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.
Free weather data via wttr.in. No registration, no API key. Cross-platform: Windows / macOS / Linux (Python 3.6+ only, no pip packages).
# Current weather + forecast (auto-detect IP location) python scripts/weather.py # City 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 --today # JSON output (programmatic use) python scripts/weather.py Beijing --json # Chinese language python scripts/weather.py Beijing --lang=zh7w4.net小葱技能站,你的AI助手技能库。
urllib, json, sys)--lang=zh这个天气工具质量不错,使用简单方便,不需要注册或配置 API Key,支持查询全球城市天气。中文显示清晰,信息丰富(温度、湿度、风力、日出日落等)。跨平台兼容性好,电脑都能用。不足是依赖网络和外部免费服务,网络不好时可能获取失败,且没有本地缓存功能,无法查看历史天气。总体适合日常轻度使用,但对稳定性要求高的场景可能不够。