Kanboard is a Kanban project management software.
- Author: Frédéric Guillot
- License: MIT
- Tested with nodejs >= 7.3.x
npm install kanboard
Methods and arguments are the same as the API procedures described in the official documentation.
const Kanboard = require('kanboard');
var kb = new Kanboard('http://localhost/jsonrpc.php', 'username', 'password');
kb.execute('getMyProjects')
.on('success', (result) => {
console.log(result);
})
.on('error', (error) => {
console.log(error);
});
kb.execute('getMyProjects', {name: 'My project'});
kb.execute('createTask', {title: 'My task', project_id: 3, color_id: 'blue'});