Skip to content

PeterMosmans/kanboard-api-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python API Client for Kanboard

Minimalist Kanboard Python client.

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

Installation

pip install kanboard

The library is compatible with Python 2 and Python 3.

Examples

The methods and arguments are the same as the JSON-RPC procedures described in the official documentation.

Python methods are dynamically mapped to the API procedures. You must use named arguments.

Create a new team project

from kanboard import Kanboard

kb = Kanboard("http://localhost/jsonrpc.php", "jsonrpc", "your_api_token")
project_id = kb.create_project(name="My project")

Authenticate as user

from kanboard import Kanboard

kb = Kanboard("http://localhost/jsonrpc.php", "admin", "admin")
kb.get_my_projects()

Create a new task

from kanboard import Kanboard

kb = Kanboard("http://localhost/jsonrpc.php", "jsonrpc", "your_api_token")
project_id = kb.create_project(name="My project")
task_id = kb.create_task(project_id=project_id, title="My task title")

See the official API documentation for the complete list of methods and arguments.

About

Python API Client for Kanboard

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 93.0%
  • Makefile 7.0%