docker run --rm -e OPENWEATHERMAP_KEY=<key> rjg21/weather [--country=<country>] <city>
<key> Your OpenWeatherMap API Key
<city> Location to be passed to API (e.g. london, "new york", etc)
<country> Optionally, restrict cities to an ISO 3166 country code
- Goto: https://openweathermap.org and create a free account
- Sign-in with your new account
- On the My Home page, select the API Keys tab
- Copy the default key pre-created for you (32 hex digits)
Note: it can take up to 10 minutes for this key to become active