public IEnumerable <string> GetLanguages() { return(RiotApi.GetObject <IEnumerable <string> >(BaseUrl + "/languages")); }
public CurrentGameInfo GetActiveGame(long summonerId) { return(RiotApi.GetObject <CurrentGameInfo>(BaseUrl + $"/active-games/by-summoner/{summonerId}")); }
public ChampionList GetAllChampions() { return(RiotApi.GetObject <ChampionList>(BaseUrl)); }
public Summoner GetSummoner(long summonerId) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/{summonerId}")); }
public Summoner GetSummonerByAccountId(int accountId) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-account/{accountId}")); }
public Match GetMatchById(long matchId) { return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}")); }
public IEnumerable <long> GetMatchesByTournamentCode(string tournamentCode) { return(RiotApi.GetObject <IEnumerable <long> >(BaseUrl + $"/matches/by-tournament-code/{tournamentCode}/ids")); }
public StaticReforgedRunePath GetReforgedRunePaths() { return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + "/reforged-rune-paths")); }
public StaticReforgedRunePath GetReforgedRunePaths(long pathId) { return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + $"/reforged-rune-paths/{pathId}")); }
public StaticProfileIconData GetProfileIcons() { return(RiotApi.GetObject <StaticProfileIconData>(BaseUrl + "/profile-icons")); }
public StaticRealm GetRealms() { return(RiotApi.GetObject <StaticRealm>(BaseUrl + "/realms")); }
public StaticMastery GetMasteries(long masteryId) { return(RiotApi.GetObject <StaticMastery>(BaseUrl + $"/masteries/{masteryId}")); }
public StaticMasteryList GetMasteries() { return(RiotApi.GetObject <StaticMasteryList>(BaseUrl + "/masteries")); }
public StaticMapData GetMaps() { return(RiotApi.GetObject <StaticMapData>(BaseUrl + "/maps")); }
public LeagueList GetChallengerLeague(string queueName) { return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/challengerleagues/by-queue/{queueName}")); }
public IEnumerable <StaticReforgedRune> GetReforgedRunes() { return(RiotApi.GetObject <IEnumerable <StaticReforgedRune> >(BaseUrl + "/reforged-runes")); }
public IEnumerable <LeaguePosition> GetLeaguePositions(long summonerId) { return(RiotApi.GetObject <IEnumerable <LeaguePosition> >(BaseUrl + $"/positions/by-summoner/{summonerId}")); }
public StaticReforgedRune GetReforgedRunes(long runeId) { return(RiotApi.GetObject <StaticReforgedRune>(BaseUrl + $"/reforged-runes/{runeId}")); }
public MatchTimeline GetMatchTimelineById(long matchId) { return(RiotApi.GetObject <MatchTimeline>(BaseUrl + $"/timelines/by-match/{matchId}")); }
public StaticRuneList GetRunes() { return(RiotApi.GetObject <StaticRuneList>(BaseUrl + "/runes")); }
public Match GetMatchByTournamentCode(long matchId, string tournamentCode) { return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}/by-tournament-code/{tournamentCode}")); }
public IEnumerable <ChampionMastery> GetChampionMasteriesBySummonerId(long summonerId) { return(RiotApi.GetObject <IEnumerable <ChampionMastery> >(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}")); }
public Summoner GetSummoner(string summonerName) { return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-name/{summonerName}")); }
public ChampionMastery GetChampionMasteryBySummonerIdAndChampionId(long summonerId, long championId) { return(RiotApi.GetObject <ChampionMastery>(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}")); }
public ShardStatus GetShardStatus() { return(RiotApi.GetObject <ShardStatus>(BaseUrl + "/shard-data/")); }
public int GetMasteryScoreBySummonerId(long summonerId) { return(RiotApi.GetObject <int>(BaseUrl + $"/scores/by-summoner/{summonerId}")); }
public FeaturedGames GetFeaturedGames() { return(RiotApi.GetObject <FeaturedGames>(BaseUrl + "/featured-games")); }
public LeagueList GetLeague(string leagueId) { return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/leagues/{leagueId}")); }
public Champion GetChampion(int championId) { return(RiotApi.GetObject <Champion>(BaseUrl + $"/{championId}")); }
public StaticLanguageStrings GetLanguageStrings() { return(RiotApi.GetObject <StaticLanguageStrings>(BaseUrl + "/language-strings")); }