This console application main use case is showing weather forecast with help of https://api.openweathermap.org/data/3.0/onecall
.
To run in console use node weather.js
.
Arguments list:
Without params - return weather forecast for saved coords (lat and lon)
-lat [lat coordinates]
lat coordinate
-lon [lon coordinates]
lon coordinate
-h
for help
-t [API_KEY]
for saving token
First time you need to save token(node weather.js -t [token-value]
), then lat and lon values.
After this you are ready to use app.
-
Notifications
You must be signed in to change notification settings - Fork 0
Alucard163/node-cli-weather-app
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published