AccuWeather API wrapper for nodeJS
![NPM](https://nodei.co/npm/accuweather.png?downloadRank=true&stars=true)
The development of this module is at the earliest stage.
About
A Node.js module for integrating with the AccuWeather API. You must acquire an API key to use it.
Installation
The project is hosted on npm
npm install accuweather
Usage
Create a client and then call one of the exposed methods. See the
AccuWeather API for details.
const AccuWeather = require('accuweather')
const forecast = new AccuWeather('accukey')
forecast
.localkey(28580)
.time('hourly/1hour')
.language("ru")
.metric(true)
.details(true)
.get()
.then(res => {
console.log(res)
})
.catch(err => {
console.log(err)
})
Copyright
Copyright (c) 2017 Vlad Biralo. See LICENSE for further details.