0.1.2 • Published 11 years ago

darksky v0.1.2

Weekly downloads
7
License
-
Repository
github
Last release
11 years ago

Node.js DarkSky API wrapper

Build Status

About

A Node.js module for integrating with the Dark Sky API. You must acquire an API key to use it.

Installation

The project is hosted on npm

npm install darksky

Usage

Create a client and then call one of the exposed methods. See the Dark Sky API for details.

var darksky = require("darksky"); var client = darksky.Client("mykey");

client.forecast('37.8267','-122.423', function(data) { process.stdout.write(d); }, function( err ) { console.error( err ); } );