/node-api-weather

Terminal app to see the weather in any city

Primary LanguageJavaScript

Weather NODE API

A terminal app built with node.js that requests data from a weather API (openweathermap)

This apps has args that provide different data according to your wishes.

--location, -l: Returns the temperature of the city. Required

--wind, -w: Returns the speed wind

--coord, -c: Returns coordinates of the city

--unit, -u: Type of unit -> 2 inputs Cel or Far. By default Cel

--all, -all: Returns all the information of previous arguments.


A basic example of use could be the next command:

node app.js -l Valencia

If you want to get all the information about a location you only have to add -all to the previous command:

node app.js -all -l Valencia