Skip to main content

Kanboard API client

Project description

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.

Project details


Download files

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

Source Distribution

kanboard-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page