Create an account at https://openweathermap.org and get an API key.
Note that it can take up to a couple of hours for the key to become active.
Add an environment variable OPEN_WEATHER_API_KEY
with the value of the key.
run the script:
./weather.clj Toronto,CA
🌆 City: Old Toronto
📍 State: Ontario
🌍 Country: CA
🌡 Temperature: 5 °C
💁♀️ Feel like: 0 °C
🧊 Minimum: 4 °C
🔥 Maximum: 5 °C
🌊 Pressure: 1015 hPa
😰 Humitdity: 61 %
☁️ Cloudiness: 0 %
🌬 Wind Speed: 8.75 m/s
🧭 Wind Direction: 210 °
🌁 Visibility: 10000