Using with Async-Method
- Using with async-api-method
var rit = await Api.NonStaticApi.ChampionMasteryv3
.GetChampionMasteriesBySummonerAsync(ServicePlatform.TR1, 466244);
var rit = await new ApiCall()
.SelectApi<List<ChampionMasteryDto>>(LolApiName.ChampionMastery)
.For(LolApiMethodName.ChampionMasteries)
.AddParameter(new ApiParameter(LolApiPath.BySummoner, (long)466244))
.UseCache(false, false)//<== optional
.Build(ServicePlatform.TR1)
.GetAsync();
Updated almost 7 years ago