1.5.2 • Published 6 years ago

get-the-weather v1.5.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Build Status

get-the-weather

Node.js module for getting the weather from Dark Sky with a Zip Code.

INSTALL

npm install get-the-weather --save

HOW TO USE

Sign up for a Dark Sky API Key here

Sign up for a Zip Code API key here

Create an options object:

let options = {
    zip: `Zip code here`,
    DarkSkyKey: `Dark Sky API key here`,
    ZipCodeApiKey: `zipcodeapi.com key here`
}

Require and Run the function!

const getTheWeather = require("get-the-weather");

getTheWeather(options)
  .then(result => console.log(result.currently.temperature));

This returns a Promise!

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago