支持Redmine's REST API的Nodejs库 Node-Redmine
- 授权协议: GPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/zanran/node-redmine
- 软件文档: https://github.com/zanran/node-redmine
软件介绍
Node-Redmine是一个100%支持Redmine's REST API的Nodejs库。
安装
npm install node-redmine
示例代码
var Redmine = require('../lib/redmine');
///////////////////////////////////////////////////////////////
var hostname = process.env.REDMINE_HOST || 'redmine.zanran.me';
var config = {
apiKey: process.env.REDMINE_APIKEY || 'bed1ba0544b681e530c2447341607f423c9c8781'
};
var redmine = new Redmine(hostname, config);
/**
* Dump issue
*/
var dump_issue = function(issue) {
console.log('Dumping issue:');
for (var item in issue) {
console.log(' ' + item + ': ' + JSON.stringify(issue[item]));
}
};
redmine.issues({limit: 2}, function(err, data) {
if (err) throw err;
for (var i in data.issues) {
dump_issue(data.issues[i]);
}
console.log('total_count: ' + data.total_count);
});
Coding the Matrix
Philip N. Klein / Newtonian Press / 2013-7-26 / $35.00
An engaging introduction to vectors and matrices and the algorithms that operate on them, intended for the student who knows how to program. Mathematical concepts and computational problems are motiva......一起来看看 《Coding the Matrix》 这本书的介绍吧!
