NodeJS wrapper of Intervals API.
Work in progress.
The best way is to use npm:
npm install intervals
You can also clone the repository and install dependencies with npm:
git clone https://github.com/francois2metz/node-intervals.git
cd node-intervals
npm bundle
- node-spore
- node-optimist
- yaml
- futures
- dateformat
intervals [--date 2011-03-14] [--hours 4] [--billable] [--description "Hello World"]
- date: date in ISO 8601 format (YYYY-MM-DD), default today
- hours: default 8
- billable: default non billable
- description: default empty
var desc = require('invervals').description;
var client = require('intervals').createClient('secret token');
An API key is needed. Go to https://xx.timetask.com/account/api/ and generate one. The config file is written in ~/.config/intervals or in $XDG_CONFIG_HOME/intervals in yaml format.
-
0.0.4
Add short option -b for billable hours.
Use XDG_CONFIG_HOME environment variable for storing config file.
-
0.0.3
Options date is now optional. Default is today.
Add missing base64 dependency.
-
0.0.2
Add description param.
-
0.0.1
Initial release with basic intervals bin.
AGPL v3.