Simple client for LegendsOfRuneterra GameClientAPI.
$ dotnet add package Kunc.RiotGames.Lor.GameClientGame Client API for Legends of Runeterra.
using Kunc.RiotGames.Lor.GameClient;
using Microsoft.Extensions.DependencyInjection;
var service = new ServiceCollection()
.AddLorGameClient()
.BuildServiceProvider();
ILorGameClient lorGameClient = service.GetRequiredService<ILorGameClient>();
// or
ILorGameClient lorGameClient = LorGameClient.Create();
PositionalRectangles positionalRectangles = await lorGameClient.GetPositionalRectanglesAsync();
// do stuff
StaticDecklist staticDecklist = await lorGameClient.GetStaticDecklistAsync();
// do stuff
GameResult gameResult = await lorGameClient.GetGameResultAsync();
// do stuff
Kunc.RiotGames.Lor.GameClient 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 Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.