Go package client for League of Legends
go-lol is a Go client library for accessing the [GitHub API][].
Build History
go-lol requires Go version 1.7 or greater.
import "github.com/doguti/go-lol"
package main
import (
"context"
"github.com/doguti/go-lol"
"fmt"
)
func main(){
api_key := "<KEY API>"
ctx := context.Background()
c := lol.NewClient(nil, api_key)
ch,res,_ := c.Champions.Get(ctx,"<USER>","<Method Name by default>")
fmt.Printf("%s %+v",ch.Name,res)
}