command line weather app using node.js and openweathermap.
- the openweathermap api requires an api key. if not done already, please sign up to request a free api key.
- install node.js
- git clone https://github.com/wybin4/weather-cli.git
- cmd weather -h
output:
HELP
Без параметров - вывод погоды
-s [CITY] для установки города
-h для вывода помощи
-t [API_KEY] для сохранения токена
- weather -t [your_token]
output: SUCCESS Токен сохранен
- weather -s Moscow
output: SUCCESS Город сохранен
- weather
output:
☁️ пасмурно
Температура: -2.49 (ощущается как -7.92)
Влажность: 92%
Скорость ветра: 4.83 м/c