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