Skip to content
This repository has been archived by the owner on May 20, 2018. It is now read-only.

[NOT MAINTAINED] Javascript API client for Kanboard

License

Notifications You must be signed in to change notification settings

kanboard/javascript-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript API Client for Kanboard

Kanboard is a Kanban project management software.

  • Author: Frédéric Guillot
  • License: MIT

Requirements

  • Tested with nodejs >= 7.3.x

Installation

npm install kanboard

Examples

Methods and arguments are the same as the API procedures described in the official documentation.

Get list of projects

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);
});

Create a new project

kb.execute('getMyProjects', {name: 'My project'});

Create a new task

kb.execute('createTask', {title: 'My task', project_id: 3, color_id: 'blue'});

About

[NOT MAINTAINED] Javascript API client for Kanboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published