public StaticRealm GetRealms() { return(RiotApi.GetObject <StaticRealm>(BaseUrl + "/realms")); }
public LolStatusApi(RiotApi riotApi) : base(riotApi, "/lol/status/v3") { }
public FeaturedGames GetFeaturedGames() { return(RiotApi.GetObject <FeaturedGames>(BaseUrl + "/featured-games")); }
public Summoner GetSummoner(string summonerName) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-name/{summonerName}")); }
public SummonerApi(RiotApi riotApi) : base(riotApi, "/lol/summoner/v3/summoners") { }
public IEnumerable <long> GetMatchesByTournamentCode(string tournamentCode) { return(RiotApi.GetObject <IEnumerable <long> >(BaseUrl + $"/matches/by-tournament-code/{tournamentCode}/ids")); }
public MatchApi(RiotApi riotApi) : base(riotApi, "/lol/match/v3") { }
public IEnumerable <ChampionMastery> GetChampionMasteriesBySummonerId(long summonerId) { return(RiotApi.GetObject <IEnumerable <ChampionMastery> >(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}")); }
public ChampionMastery GetChampionMasteryBySummonerIdAndChampionId(long summonerId, long championId) { return(RiotApi.GetObject <ChampionMastery>(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}")); }
public StaticReforgedRune GetReforgedRunes(long runeId) { return(RiotApi.GetObject <StaticReforgedRune>(BaseUrl + $"/reforged-runes/{runeId}")); }
public StaticRuneList GetRunes() { return(RiotApi.GetObject <StaticRuneList>(BaseUrl + "/runes")); }
public IEnumerable <StaticReforgedRune> GetReforgedRunes() { return(RiotApi.GetObject <IEnumerable <StaticReforgedRune> >(BaseUrl + "/reforged-runes")); }
public StaticReforgedRunePath GetReforgedRunePaths(long pathId) { return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + $"/reforged-rune-paths/{pathId}")); }
public StaticReforgedRunePath GetReforgedRunePaths() { return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + "/reforged-rune-paths")); }
public MatchList GetMatchesByAccountId(int accountId, OptionalParameters optionalParameters) { return(RiotApi.GetObjectWithOptionalParameters <MatchList>(BaseUrl + $"/matchlists/by-account/{accountId}", optionalParameters)); }
public int GetMasteryScoreBySummonerId(long summonerId) { return(RiotApi.GetObject <int>(BaseUrl + $"/scores/by-summoner/{summonerId}")); }
public MatchTimeline GetMatchTimelineById(long matchId) { return(RiotApi.GetObject <MatchTimeline>(BaseUrl + $"/timelines/by-match/{matchId}")); }
public ChampionMasteryApi(RiotApi riotApi) : base(riotApi, "/lol/champion-mastery/v3") { }
public Match GetMatchByTournamentCode(long matchId, string tournamentCode) { return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}/by-tournament-code/{tournamentCode}")); }
public LeagueList GetLeague(string leagueId) { return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/leagues/{leagueId}")); }
public Summoner GetSummoner(long summonerId) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/{summonerId}")); }
public LeagueList GetChallengerLeague(string queueName) { return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/challengerleagues/by-queue/{queueName}")); }
public Summoner GetSummonerByAccountId(int accountId) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-account/{accountId}")); }
public IEnumerable <LeaguePosition> GetLeaguePositions(long summonerId) { return(RiotApi.GetObject <IEnumerable <LeaguePosition> >(BaseUrl + $"/positions/by-summoner/{summonerId}")); }
public ShardStatus GetShardStatus() { return(RiotApi.GetObject <ShardStatus>(BaseUrl + "/shard-data/")); }
public LeagueApi(RiotApi riotApi) : base(riotApi, "/lol/league/v3") { }
public CurrentGameInfo GetActiveGame(long summonerId) { return(RiotApi.GetObject <CurrentGameInfo>(BaseUrl + $"/active-games/by-summoner/{summonerId}")); }
public Match GetMatchById(long matchId) { return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}")); }
public SpectatorApi(RiotApi riotApi) : base(riotApi, "/lol/spectator/v3") { }
public StaticProfileIconData GetProfileIcons() { return(RiotApi.GetObject <StaticProfileIconData>(BaseUrl + "/profile-icons")); }