<commit_before># Intervals

NodeJS wrapper of [Intervals](http://www.myintervals.com) [API](http://www.myintervals.com/api/).

*Work in progress.*

## Install

    npm install intervals

## Dependencies

* node-spore
* node-optimist
* yaml
* futures

## Command line usage

`intervals --date 2011-03-14 [--hours 4] [--billable]`

## API

### Get Spore description

    var desc = require('invervals').description;

### Get client

    var client = require('intervals').createClient('secret token');

## Config

An API key is needed. Go to https://xx.timetask.com/account/api/ and generate one.
The config file is written in ~/.intervals in yaml format.

## License

AGPL v3.<commit_msg>Doc on options.<commit_after># Intervals

NodeJS wrapper of [Intervals](http://www.myintervals.com) [API](http://www.myintervals.com/api/).

*Work in progress.*

## Install

    npm install intervals

## Dependencies

* node-spore
* node-optimist
* yaml
* futures

## Command line usage

`intervals --date 2011-03-14 [--hours 4] [--billable]`

### Options

*  date: date in ISO 8601 format (YYYY-MM-DD)
*  hours
*  billable
*  description

## API

### Get Spore description

    var desc = require('invervals').description;

### Get client

    var client = require('intervals').createClient('secret token');

## Config

An API key is needed. Go to https://xx.timetask.com/account/api/ and generate one.
The config file is written in ~/.intervals in yaml format.

## License

AGPL v3.
{'fraction_non_alphanumeric': 0.1435374149659864, 'fraction_numerical': 0.0163265306122449, 'mean_word_length': 3.6257861635220126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '549095', 'n_tokens_mistral': 514, 'n_tokens_neox': 476, 'n_words': 144}