Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

NodeJS wrapper around Intervals API.

tag: 0.0.2

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 tests
Octocat-spinner-32 .npmignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 config.js
Octocat-spinner-32 description.js
Octocat-spinner-32 intervals.js
Octocat-spinner-32 package.json
README.md

Intervals

NodeJS wrapper of Intervals 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.

Changelog

  • 0.0.2

    Add description param.

  • 0.0.1

    Initial release with basic intervals bin.

License

AGPL v3.

Something went wrong with that request. Please try again.