Skip to content
Golang client for Kanboard
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
action.go
application.go
board.go
category.go
column.go
comment.go
externalTaskLink.go
ganboard.go
ganboard_test.go
group.go
internalTaskLink.go
link.go
project.go
projectFile.go
projectMetadata.go
projectPermission.go
subtask.go
subtaskTimeTracking.go
swimlane.go
tag.go
task.go
taskFile.go
taskMetadata.go
user.go
userSpecific.go

README.md

Ganboard

JSON-RPC client for Kanboard written in Golang

Implement all functions of Kanboard API. See https://docs.kanboard.org/en/latest/api/ for more details

WIP: intense debugging ongoing, don't use this for serious purpose at the moment ! :)

Example

import (
    "github.com/davecgh/go-spew/spew"

    "github.com/chrnin/ganboard"
)

func main() {
    client := ganboard.Client{
        Endpoint: "http://localhost/kanboard/jsonrpc.php",
        Username: "admin",
        Password: "admin",
    }
    Project, _ := client.GetProjectById(1)
    spew.Dump(Project)
}
(ganboard.Project) {
 ID: (int) 1,
 Name: (string) (len=18) "My beloved Project",
 IsActive: (int) 1,
 Token: (string) (len=60) "d0541d81b3331b08c324e569cd57dd15d01f9e43dfd850018b9e29ecaa34",
 LastModified: (int) 1524755851,
 IsPublic: (int) 1,
 IsPrivate: (int) 0,
 DefaultSwimlane: (string) (len=16) "Default swimlane",
 ShowDefaultSwimlane: (int) 1,
 Description: (string) "",
 Identifier: (string) "",
 URL: (struct { Board string "json:\"board\""; Calendar string "json:\"calendar\""; List string "json:\"list\"" }) {
  Board: (string) (len=88) "http://localhost/kanboard/?controller=BoardViewController&action=show&project_id=1",
  Calendar: (string) "",
  List: (string) (len=87) "http://localhost/kanboard/?controller=TaskListController&action=show&project_id=1"
 }
}
You can’t perform that action at this time.