An unofficial Lambda for transforming the ChampionMastery.GG high scores into JSON.
It's using the MikaelDui.ChampionMasteryGg.Client
library.
dotnet tool install -g Amazon.Lambda.Tools
dotnet lambda package
or
dotnet lambda package -farch amd64
With the MikaelDui.ChampionMasteryGg.Client
library.
ChampionMasteryGgClient.BaseAddress = "https://1a2b3c4d5e.execute-api.eu-west-2.amazonaws.com/";
ChampionMasteryGgClient.Encoding = ChampionMasteryGgEncoding.Json;
using ChampionMasteryGgClient client = new();
var highscores = await client.GetHighscoresAsync();