Ejemplo n.º 1
0
 /// <inheritdoc />
 public async Task <ItemsList <Label> > GetPlayerLabelsAsync()
 => await _requester.GetAndDeserializeAsync <ItemsList <Label> >(PlayerLabelsUrl);
Ejemplo n.º 2
0
 /// <inheritdoc />
 public async Task <CwlGroup> GetCurrentCwlGroupAsync(string clanTag)
 => await _requester.GetAndDeserializeAsync <CwlGroup>(ClansUrl + HttpUtility.UrlEncode(clanTag) + "/currentwar/leaguegroup");
Ejemplo n.º 3
0
 /// <inheritdoc />
 public async Task <Player> GetPlayerAsync(string tag)
 => await _requester.GetAndDeserializeAsync <Player>(PlayerInfoUrl + HttpUtility.UrlEncode(tag));
Ejemplo n.º 4
0
 /// <inheritdoc />
 public async Task <ItemsList <ClanRanking> > GetLocationClanRankingsAsync(int locationId)
 => await _requester.GetAndDeserializeAsync <ItemsList <ClanRanking> >(LocationsUrl + locationId + "/rankings/clans");
Ejemplo n.º 5
0
 /// <inheritdoc />
 public async Task <ItemsList <League> > GetLeaguesAsync()
 => await _requester.GetAndDeserializeAsync <ItemsList <League> >(LeaguesUrl);
Ejemplo n.º 6
0
 /// <inheritdoc />
 public async Task <GoldpassSeason> GetCurrentGoldpassSeasonAsync()
 => await _requester.GetAndDeserializeAsync <GoldpassSeason>(GoldpassUrl);