Skip to main content

Client library for Kanboard API

Project description

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

Kanboard API client.

  • Author: Frédéric Guillot

  • License: MIT

Installation

pip install kanboard

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

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.

Source Distribution

kanboard-1.0.6.tar.gz (3.2 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