msn-weather-api
v0.4.0
Published
Get weather forecast from MSN
Downloads
8
Readme
msn-weather-api
Weather forecast by MSN weather.
Installation
NPM
$ npm install msn-weather-apiYarn
$ yarn add msn-weather-apiUsage
const WeatherMSN = require('msn-weather-api');
const weather = new WeatherMSN('en', 'c');
(async () => {
const current = await weather.getCurrentData('kyoto');
const forecast = await weather.getForecastData('kyoto', 1);
current.weather; // Cloudy
forecast.weather; // Light Rain
})();License
This project is licensed under the ISC License.
