go-riot

go-riot is a Riot Games API client for Go.
Install
go get github.com/p-ob/go-riot/lol
Example usage:
// Initiate a lol.Client with your API key, and the region to query against
client := lol.NewClient(apiKey, lol.Na, httpClient)
ctx := context.Background()
// Drunk7Irishman's summoner id
summonerID := int64(25886496)
// get Drunk7Irishman
s, _ := client.Summoner.Get(ctx, summonerID)
// print Drunk7Irishman
thisSummoner := (*s)[summonerID]
fmt.Printf("Summoner:\n%+v\n", thisSummoner)
// OUTPUT:
// >> Summoner:
// {ID:25886496 Name:Drunk7Irishman ProfileIconID:744 SummonerLevel:30 RevisionDate:1482381110000}
Resources mapped:
Disclaimer
go-riot isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially
involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered
trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.