Qiita API v2 client library written in Golang.
go get -u github.com/ktsujichan/qiita-sdk-go/qiita
package main
import (
"context"
"github.com/ktsujichan/qiita-sdk-go/qiita"
)
func main() {
config := qiita.NewConfig()
c, _ := qiita.NewClient("<qiita access token>", *config)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
c.ListItems(ctx, 1, 10, "Golang")
c.ListUsers(ctx, 1, 10)
c.GetUser(ctx, "r7kamura")
}