技能标识:openweather
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