Skip to content

wybin4/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-cli

command line weather app using node.js and openweathermap.

settings

  1. the openweathermap api requires an api key. if not done already, please sign up to request a free api key.
  2. install node.js
  3. git clone https://github.com/wybin4/weather-cli.git
  4. cmd weather -h

output:

HELP
Без параметров - вывод погоды
-s [CITY] для установки города
-h для вывода помощи
-t [API_KEY] для сохранения токена
  1. weather -t [your_token]

output: SUCCESS Токен сохранен

  1. weather -s Moscow

output: SUCCESS Город сохранен

  1. weather

output:

☁️  пасмурно
Температура: -2.49 (ощущается как -7.92)
Влажность: 92%
Скорость ветра: 4.83 м/c

About

console weather api on node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published