Skip to content

joyarzun/accuweather-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

AccuWeather API simple wrapper

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published