All Projects → KnutZuidema → golio

KnutZuidema / golio

Licence: MIT license
League of Legends API client written in Golang

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to golio

league-toolkit
⚙️ A set of additional options for the updated League of Legends client.
Stars: ✭ 20 (-55.56%)
Mutual labels:  league-of-legends, lol, riot-api
legendary-rune-maker
An automation app for League of Legends
Stars: ✭ 75 (+66.67%)
Mutual labels:  league-of-legends, lol
LeagueAPI
League of Legends API & Data Framework in Swift
Stars: ✭ 50 (+11.11%)
Mutual labels:  league-of-legends, riot-api
league-connect
🔌 Promise-based NodeJS interface to the League of Legends Client APIs
Stars: ✭ 92 (+104.44%)
Mutual labels:  league-of-legends, riot-api
YARDT
Yet another Runeterra deck tracker
Stars: ✭ 16 (-64.44%)
Mutual labels:  lor, legends-of-runeterra
MindCorpViewer
League Of Legends Model Viewer
Stars: ✭ 19 (-57.78%)
Mutual labels:  league-of-legends, lol
trophy-hunter
Trophy Hunter is a League of Legends companion app for the Overwolf store
Stars: ✭ 21 (-53.33%)
Mutual labels:  league-of-legends, riot-api
KBotExt
Application that sends custom requests to League of Legends LCU api
Stars: ✭ 86 (+91.11%)
Mutual labels:  league-of-legends, lol
LeagueReplayParser
C# library which can read some data from a .rofl file, and start a replay in the client. (no longer actively maintained)
Stars: ✭ 20 (-55.56%)
Mutual labels:  league-of-legends, lol
runeterra
Legends of Runeterra deck code encoder/decoder in JavaScript
Stars: ✭ 45 (+0%)
Mutual labels:  league-of-legends, legends-of-runeterra
lol launcher
League Of Legends 英雄联盟 启动器
Stars: ✭ 70 (+55.56%)
Mutual labels:  league-of-legends, lol
Pyot
AsyncIO based high-level Python Riot Games API framework which encourages rapid development and clean, pragmatic design.
Stars: ✭ 56 (+24.44%)
Mutual labels:  league-of-legends, legends-of-runeterra
Camille
C# Riot API Library. Thread safe, automatic retries, autogenerated nightly releases.
Stars: ✭ 82 (+82.22%)
Mutual labels:  league-of-legends, riot-api
samp-client
GTA SA-MP API client library for Python
Stars: ✭ 21 (-53.33%)
Mutual labels:  api-client
crates io api
API client for crates.io, the Rust crate registry.
Stars: ✭ 51 (+13.33%)
Mutual labels:  api-client
LOLPrediction
英雄联盟胜负预测
Stars: ✭ 31 (-31.11%)
Mutual labels:  league-of-legends
chigo
🌈 Lolcat in Go: Rainbows and Unicorns!
Stars: ✭ 34 (-24.44%)
Mutual labels:  lol
binance-client-websocket
🛠️ C# client for Binance websocket API
Stars: ✭ 41 (-8.89%)
Mutual labels:  api-client
bionode-ncbi
Node.js module for working with the NCBI API (aka e-utils).
Stars: ✭ 66 (+46.67%)
Mutual labels:  api-client
lol-pick-ban-ui
Web-Based UI to display the league of legends champ select in esports tournaments.
Stars: ✭ 181 (+302.22%)
Mutual labels:  league-of-legends

Documentation CI Go Report Card codecov

Golio

Golio is a wrapper for the Riot API and the Data Dragon service. It is written purely in Go and provides idiomatic access to all API endpoints.

Example

package main

import (
	"fmt"
	"net/http"

	"github.com/KnutZuidema/golio"
    "github.com/KnutZuidema/golio/api"
	log "github.com/sirupsen/logrus"
)

func main() {
	client := golio.NewClient("API KEY",
                golio.WithRegion(api.RegionNorthAmerica),
                golio.WithLogger(logrus.New().WithField("foo", "bar")))
	summoner, _ := client.Riot.Summoner.GetByName("SK Jenax")
	fmt.Printf("%s is a level %d summoner\n", summoner.Name, summoner.SummonerLevel)
	champion, _ := client.DataDragon.GetChampion("Ashe")
	mastery, err := client.Riot.ChampionMastery.Get(summoner.ID, champion.Key)
	if err != nil {
		fmt.Printf("%s has not played any games on %s\n", summoner.Name, champion.Name)
	} else {
		fmt.Printf("%s has mastery level %d with %d points on %s\n", summoner.Name, mastery.ChampionLevel,
			mastery.ChampionPoints, champion.Name)
	}
	challengers, _ := client.Riot.League.GetChallenger(api.QueueRankedSolo)
	rank1 := challengers.GetRank(0)
	fmt.Printf("%s is the highest ranked player with %d league points\n", rank1.SummonerName, rank1.LeaguePoints)
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].