Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

otoyo/garoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cybozu Garoon REST API client for Go CircleCI

Supported most of Garoon REST API excluding notification/items(POST)

import "github.com/otoyo/garoon"

Example

package main

import (
        "fmt"

        "github.com/otoyo/garoon"
)

func main() {
        c, err := garoon.NewClient("subdomain of .cybozu.com", "user", "password")
        if err != nil {
                fmt.Printf("%s\n", err)
                return
        }

        ev, err := c.FindEvent(123)
        if err != nil {
                fmt.Printf("%s\n", err)
                return
        }

        fmt.Printf("%#v\n", ev)
}

Documentation

See wiki

Contribution

Contributions are welcome ;)