1.0.6 • Published 6 years ago
weather-gov-api v1.0.6
weather-gov-api
A javascript class wrapping weather.gov api
Getting Started
Install
npm install weather-gov-api --save
Add into project
ES6
import weather from 'weather-gov-api'
ES5
var weather = require('weather-gov-api');
Examples
weather.getForecast('default', 40.712776, -74.005974)
.then(data => { console.log(data)})
.catch(err => console.log(err))