SkillHub

my-weather

v1.0.0

通过wttr.in获取任意城市、机场代码或邮编的实时天气,无需API密钥。

Sourced from ClawHub, Authored by ryansorr1

Installation

Please help me install the skill `my-weather` from SkillHub official store. npx skills add ryansorr1/my-weather

My Weather

Get current weather using wttr.in (no API key required).

Example

curl -s "wttr.in/78023?format=3"
# Output: San Antonio: ⛅️ +28°C

Location

Use city name, airport code, or zip code:

curl -s "wttr.in/London?format=3"
curl -s "wttr.in/JFK?format=3"
curl -s "wttr.in/78023?format=3"

Format options

  • ?format=3 - Compact one-liner
  • ?format=%l:+%c+%t+%h+%w - Custom format
  • ?T - Full forecast
  • ?0 - Current only
  • ?1 - Today only

Units

  • ?m - Metric
  • ?u - USCS