0.1.0 • Published 7 years ago

accuweather-simple v0.1.0

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

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.