Get current weather, hourly forecasts, and 8-day daily forecasts for any location worldwide using OpenWeather One Call API 3.0. Use when the user asks about weather, temperature, rain, snow, forecast, or conditions for any city or location.
通过小型 Python CLI(仅使用标准库)调用 OpenWeather One Call API 3.0。
如果设置了 OPENWEATHERDEFAULTLOCATION,城市参数为可选项。
python3 {skillDir}/scripts/weather.py current [城市]
python3 {skillDir}/scripts/weather.py forecast [城市] --days 5
python3 {skillDir}/scripts/weather.py hourly [城市] --hours 12
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 openweather-1776291446 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 openweather-1776291446 技能
skillhub install openweather-1776291446
文件大小: 6.64 KB | 发布时间: 2026-4-16 18:20