Contents:
abstract: | Python interface to kanbanize.com API |
---|---|
version: | 0.2.0 |
author: | Stefano Guandalini <guandalf@gmail.com> |
contact: | |
date: | 2012-04-06 |
copyright: | Copyright (C) 2011, Stefano Guandalini <guandalf@gmail.com>
|
Specialized version of restkit.Resource to deal with kanbanize.com APIs
Parameters: | apikey (str) – Your kanbanize.com API key |
---|
Creates a new task in ‘boardid’ board with optional ‘details’
Parameters: |
|
---|---|
Return type: | int |
Retireves a list of all tasks on ‘boardid’ board
Parameters: |
|
---|---|
Return type: | dict or str (for explicit format request) |
Raises : | TypeError if given format is != from the ones above |
Example:
>>> from kanbanize.wrapper import Kanbanize
>>> from credentials import *
>>> k = Kanbanize(apikey)
>>> k.get_all_tasks(5)
[{u'columnname': u'backlog', u'blockedreason': None, u'lanename': u'Default Swimlane', u'subtaskdetails': [], u'subtasks': None, u'title': u'Task title', u'color': u'#F0F0F0', u'tags': u'', u'priority': u'Average', u'assignee': u'None', u'deadline': None, u'taskid': u'38', u'subtaskscomplete': None, u'extlink': u'', u'blocked': None, u'type': u'0', u'leadtime': 1, u'size': u'2'}, {u'columnname': u'Backlog', u'blockedreason': None, u'lanename': u'Default Swimlane', u'subtaskdetails': [], u'subtasks': u'0', u'title': u'Kanbanize test task 01', u'color': u'#99b399', u'tags': None, u'priority': u'Average', u'assignee': u'None', u'deadline': None, u'taskid': u'27', u'subtaskscomplete': u'0', u'extlink': None, u'blocked': u'0', u'type': u'0', u'leadtime': 15, u'size': u'2'}, {u'columnname': u'Backlog', u'blockedreason': None, u'lanename': u'Default Swimlane', u'subtaskdetails': [], u'subtasks': u'0', u'title': u'Kanbanize test task 02', u'color': u'#99b399', u'tags': None, u'priority': u'Average', u'assignee': u'None', u'deadline': None, u'taskid': u'28', u'subtaskscomplete': u'0', u'extlink': None, u'blocked': u'0', u'type': u'0', u'leadtime': 15, u'size': u'2'}]
Retireves ‘taskid’ task details from ‘boardid’ board
Parameters: |
|
---|---|
Return type: | dict or str (for explicit format request) |
Raises : | TypeError if given format is != from the ones above |