ChatWork API Client for Golang Forked from https://github.com/yoppi/go-chatwork
Go
Pull request Compare This branch is 33 commits ahead, 2 commits behind yoppi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
LICENSE.txt
README.md
api.go
client.go
client_test.go

README.md

ChatWork API Client for Golang

ChatWork client for Golang.

Install

$ go get github.com/griffin-stewie/go-chatwork

Usage

package main

import (
  chatwork "github.com/griffin-stewie/go-chatwork"
)

func main() {
  chatwork := chatwork.NewClient(`api-key`)

  chatwork.Me()

  chatwork.MyStatus()

  chatwork.MyTasks(map[string]string {
    "assigned_by_account_id": "123",
    "status": "open"
  })

  chatwork.RateLimit()

  ...
}

for GoogleAppEngine/Go

c := appengine.NewContext(r)
client := urlfetch.Client(c)
chatwork := chatwork.NewClient(`api-key`)
chatwork.HTTPClient = client

See more examples in examples directory.