Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Client library for Kanboard API

Project description

https://travis-ci.org/kanboard/python-api-client.svg?branch=master

Client library for Kanboard API.

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

Installation

pip install kanboard

This library is compatible with Python 2.7, 3.4, 3.5, 3.6, and 3.7.

Examples

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
kanboard-1.0.7.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page