Skip to content

rv-kip/node-darksky

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Dark Sky 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 = new darksky("mykey");
  
client.forecast('37.8267','-122.423', 
    function(err, data) {
        if (err) {
            console.error(err);
        }
        process.stdout.write(data);
    }
);

Copyright

Copyright (c) 2012 Aaron Westendorf. See LICENSE for further details.

About

Dark Sky API for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%