accuweather-simple
v0.1.0
Published
AccuWeather API simple wrapper
Downloads
4
Readme
Accuweather simple
AccuWeather API simple wrapper
Installation
npm install accuweather-simple
Usage
const config = {
apikey: "XXXXXXXX",
language: "en-us"
};
const accuweatherSimple = require('accuweather-simple')(config);
accuweatherSimple.getWeather("santiago").then(result => console.log(result));
Output should be something like Expect showery weather tomorrow afternoon through tomorrow evening
Tests
npm test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.