The weather data is sourced from the service openweathermap.org. Before running the tool, you need to register and obtain an API_KEY
to use the service.
TOKEN=[OPENWEATHERMAP_API_KEY] CITY=[CITY] node weather.js
node weather.js -h
node weather.js -s [CITY]
node weather.js -t [OPENWEATHERMAP_API_KEY]
If token and city are set by default, you can run the tool without specifying environment variables:
node weather.js