Skip to content

ota42y/go-chatwork-api

Repository files navigation

Circle CI Coverage Status GoDoc License

Chatwork api client for golang.

This support www.chatwork.com and kcw.kddi.ne.jp

Install

$ go get github.com/ota42y/go-chatwork-api

Usage

package main

import (
	chatwork "github.com/ota42y/go-chatwork-api"
)

func main() {
	chatwork := chatwork.New("api-key")
	
	rooms, err := client.GetRooms()
	if err == nil {
		for _, room := range rooms {
			fmt.Println(room.RoomId, room.Name, room.UnreadNum)
		}
	} else {
		fmt.Println(err)
	}
}

Feature

Full api support. (in 2015/11)

  • /me
  • /my
  • /contacts
  • /rooms

License

MIT: https://github.com/ota42y/go-chatwork-api/LICENSE.txt

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published