jackmcguire1 / go-glo

go module for Axosoft Glo Boards API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-glo

GoDoc Build Status Go Report Card

A library to help interact with GitKraken Glo Boards API


Supported Endpoints & Features

API Endpoints:

This package supports the following v1 Glo Boards API endpoints

Boards

  • Create Board
  • Edit Board
  • Delete Board
  • Get Boards
  • Get Boards by ID

Columns

  • Create column
  • Edit column
  • Delete column

Cards

  • Create Card
  • Edit Card
  • Delete Card
  • Get Cards
  • Get Card By ID
  • Get Cards By Column ID

Attachments

  • Create Attachment
  • Get Attachments

Comments

  • Create Comment
  • Edit Comment
  • Delete Comment
  • Get Comments By Card ID

User

  • Get User

Installing

go get github.com/jackmcguire1/go-glo

Example

package main

import (
	"log"
	"os"

	"github.com/jackmcguire1/go-glo"
)

var token string

func init() {
	token = os.Getenv("TOKEN")
}

func main() {
	client := glo.NewClient(token)
	user, err := client.GetUser()
	if err != nil {
		log.Fatal(err)
	}

	log.Println(user.ID, user.Name, user.Username, user.Email)
}

Development

To develop go-glo or interact with its source code in any meaningful way, be sure you have the following installed:

Prerequisites

You will need to activate Modules for your version of Go, generally by invoking go with the support GO111MODULE=on environment variable set.

FAQ

Please refer to Git Kraken Documentation for any further reading.

License

The source code for go-glo is released under the MIT License.

Donations

All donations are appreciated!

Donate

About

go module for Axosoft Glo Boards API

License:MIT License


Languages

Language:Go 100.0%