<commit_before>Node.js Dark Sky API wrapper
===========================

[![Build Status](http://travis-ci.org/awestendorf/node-darksky.png)](http://travis-ci.org/awestendorf/node-darksky)

About
-----

A Node.js module for integrating with the [Dark Sky](http://darkskyapp.com) 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](http://darkskyapp.com/api/) for details.

```javascript
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 );
    }
);
```

Copyright
---------

Copyright (c) 2012 <NAME>. See LICENSE for further details.<commit_msg>Fixing and cleaning up example<commit_after>Node.js Dark Sky API wrapper
===========================

[![Build Status](http://travis-ci.org/awestendorf/node-darksky.png)](http://travis-ci.org/awestendorf/node-darksky)

About
-----

A Node.js module for integrating with the [Dark Sky](http://darkskyapp.com) 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](http://darkskyapp.com/api/) for details.

```javascript
var darksky = require("darksky");
var client = darksky.Client("mykey");
  
client.forecast('37.8267','-122.423', 
    function(data) {
        process.stdout.write(data);
    },
    function(err) {
        console.error(err);
    }
);
```

Copyright
---------

Copyright (c) 2012 <NAME>. See LICENSE for further details.
{'fraction_non_alphanumeric': 0.1853496115427303, 'fraction_numerical': 0.017758046614872364, 'mean_word_length': 3.1070615034168565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3329839', 'n_tokens_mistral': 595, 'n_tokens_neox': 572, 'n_words': 161}