Skip to content

chrnin/ganboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
 }
}

About

Golang client for Kanboard

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages