Skip to content

doguti/go-lol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-lol

Go package client for League of Legends

go-lol is a Go client library for accessing the [GitHub API][].

Documentation: GoDoc

Build Status: Build Status

Test Coverage: Test Coverage

Build History

Build history for master branch

go-lol requires Go version 1.7 or greater.

MANUAL

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)

}

About

Go package client for League of Legends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages