openweather
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name OPENWEATHER_TOKEN or zero doctor check-connector --url https://api.openweathermap.org/data/2.5/weather --method GET.
How to Use
OpenWeather authenticates with an API key passed as the appid query
parameter on every request. The base URL is
https://api.openweathermap.org.
1. Current weather by city
curl -s -G "https://api.openweathermap.org/data/2.5/weather" \
--data-urlencode "q=Beijing" \
--data-urlencode "units=metric" \
--data-urlencode "appid=$OPENWEATHER_TOKEN"