A Node.js module for the Dark Sky API (previously known as Forecast.io).
Based on Brian Hines's weatherman.io.
Install it
npm install weatherwoman
Require it
var weatherwoman = ;
Create a weatherwoman
var carolKirkwood = "your-dark-sky-api-key";
Create a weatherwoman with options
var options = units: "uk" exclude: "minutely" "alerts" extend: "hourly"; var carolKirkwood = "your-dark-sky-api-key" options;
Detailed information about each of these options is available in the Dark Sky developer docs: https://darksky.net/dev/docs
Do the forecast from a location
var forecastOptions = latitude: 418854710 longitude: -876430260; carolKirkwood;
Do the forecast for a specific time (Unix timestamp)
var forecastOptions = latitude: 418854710 longitude: -876430260 time: 1395347280; carolKirkwood;