Openweather-Node
Openweather-Node is for get weather from openweather api.
Installation
npm install -g openweather-node --save
Example
var weather = weather /** { temp: 281.15, temp_min: 281.15, temp_max: 281.15 }* { temp: 8, temp_min: 8, temp_max: 8 }* { temp: 46.4, temp_min: 46.4, temp_max: 46.4 }*/
How to use
Instantiate the module
var weather = //set your API key if you have oneweather;//set the cultureweather;//set the forecast typeweather; //or "" for 3 hours forecast
Use the differents function
weather //if you give an array of location you get an array of weathersweather weather //if you give an array of location you get an array of weathersweather weather