0.2.2 • Published 8 years ago

tshack v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

tshack

月末の工数レポート処理

  • TeamSpirit から工数を取得してその月の案件ごとの割合を計算したものを標準出力する

install

$ npm install tshack

Usage

// report.js
const tshack = require('tshack');

tshack({
  id: USERNAME, // Team Spirit アカウントのメールアドレス
  pw: PASSWORD, // Team Spirit アカウントのパス
  select: SELECT, // 月の選択 (yyyymm | prev | next)
  screenshot: __dirname // キャプチャ画像の保存先
}, function(res) {

  /*
   * res
   * @param {String} res.message 機械的なメッセージ
   * @param {Object} res.sum : 各項目の詳細
   * @param {String} res.title : 項目のタイトル
   * @param {String} res.select : 選択したクラス名
   */

  console.log(res.message);
});
$ node report.js
0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago