示例#1
0
 public IEnumerable <string> GetLanguages()
 {
     return(RiotApi.GetObject <IEnumerable <string> >(BaseUrl + "/languages"));
 }
示例#2
0
 public CurrentGameInfo GetActiveGame(long summonerId)
 {
     return(RiotApi.GetObject <CurrentGameInfo>(BaseUrl + $"/active-games/by-summoner/{summonerId}"));
 }
示例#3
0
 public ChampionList GetAllChampions()
 {
     return(RiotApi.GetObject <ChampionList>(BaseUrl));
 }
示例#4
0
 public Summoner GetSummoner(long summonerId)
 {
     return(RiotApi.GetObject <Summoner>(BaseUrl + $"/{summonerId}"));
 }
示例#5
0
 public Summoner GetSummonerByAccountId(int accountId)
 {
     return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-account/{accountId}"));
 }
示例#6
0
 public Match GetMatchById(long matchId)
 {
     return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}"));
 }
示例#7
0
 public IEnumerable <long> GetMatchesByTournamentCode(string tournamentCode)
 {
     return(RiotApi.GetObject <IEnumerable <long> >(BaseUrl + $"/matches/by-tournament-code/{tournamentCode}/ids"));
 }
示例#8
0
 public StaticReforgedRunePath GetReforgedRunePaths()
 {
     return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + "/reforged-rune-paths"));
 }
示例#9
0
 public StaticReforgedRunePath GetReforgedRunePaths(long pathId)
 {
     return(RiotApi.GetObject <StaticReforgedRunePath>(BaseUrl + $"/reforged-rune-paths/{pathId}"));
 }
示例#10
0
 public StaticProfileIconData GetProfileIcons()
 {
     return(RiotApi.GetObject <StaticProfileIconData>(BaseUrl + "/profile-icons"));
 }
示例#11
0
 public StaticRealm GetRealms()
 {
     return(RiotApi.GetObject <StaticRealm>(BaseUrl + "/realms"));
 }
示例#12
0
 public StaticMastery GetMasteries(long masteryId)
 {
     return(RiotApi.GetObject <StaticMastery>(BaseUrl + $"/masteries/{masteryId}"));
 }
示例#13
0
 public StaticMasteryList GetMasteries()
 {
     return(RiotApi.GetObject <StaticMasteryList>(BaseUrl + "/masteries"));
 }
示例#14
0
 public StaticMapData GetMaps()
 {
     return(RiotApi.GetObject <StaticMapData>(BaseUrl + "/maps"));
 }
示例#15
0
 public LeagueList GetChallengerLeague(string queueName)
 {
     return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/challengerleagues/by-queue/{queueName}"));
 }
示例#16
0
 public IEnumerable <StaticReforgedRune> GetReforgedRunes()
 {
     return(RiotApi.GetObject <IEnumerable <StaticReforgedRune> >(BaseUrl + "/reforged-runes"));
 }
示例#17
0
 public IEnumerable <LeaguePosition> GetLeaguePositions(long summonerId)
 {
     return(RiotApi.GetObject <IEnumerable <LeaguePosition> >(BaseUrl + $"/positions/by-summoner/{summonerId}"));
 }
示例#18
0
 public StaticReforgedRune GetReforgedRunes(long runeId)
 {
     return(RiotApi.GetObject <StaticReforgedRune>(BaseUrl + $"/reforged-runes/{runeId}"));
 }
示例#19
0
 public MatchTimeline GetMatchTimelineById(long matchId)
 {
     return(RiotApi.GetObject <MatchTimeline>(BaseUrl + $"/timelines/by-match/{matchId}"));
 }
示例#20
0
 public StaticRuneList GetRunes()
 {
     return(RiotApi.GetObject <StaticRuneList>(BaseUrl + "/runes"));
 }
示例#21
0
 public Match GetMatchByTournamentCode(long matchId, string tournamentCode)
 {
     return(RiotApi.GetObject <Match>(BaseUrl + $"/matches/{matchId}/by-tournament-code/{tournamentCode}"));
 }
示例#22
0
 public IEnumerable <ChampionMastery> GetChampionMasteriesBySummonerId(long summonerId)
 {
     return(RiotApi.GetObject <IEnumerable <ChampionMastery> >(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}"));
 }
示例#23
0
 public Summoner GetSummoner(string summonerName)
 {
     return(RiotApi.GetObject <Summoner>(BaseUrl + $"/by-name/{summonerName}"));
 }
示例#24
0
 public ChampionMastery GetChampionMasteryBySummonerIdAndChampionId(long summonerId, long championId)
 {
     return(RiotApi.GetObject <ChampionMastery>(BaseUrl + $"/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}"));
 }
示例#25
0
 public ShardStatus GetShardStatus()
 {
     return(RiotApi.GetObject <ShardStatus>(BaseUrl + "/shard-data/"));
 }
示例#26
0
 public int GetMasteryScoreBySummonerId(long summonerId)
 {
     return(RiotApi.GetObject <int>(BaseUrl + $"/scores/by-summoner/{summonerId}"));
 }
示例#27
0
 public FeaturedGames GetFeaturedGames()
 {
     return(RiotApi.GetObject <FeaturedGames>(BaseUrl + "/featured-games"));
 }
示例#28
0
 public LeagueList GetLeague(string leagueId)
 {
     return(RiotApi.GetObject <LeagueList>(BaseUrl + $"/leagues/{leagueId}"));
 }
示例#29
0
 public Champion GetChampion(int championId)
 {
     return(RiotApi.GetObject <Champion>(BaseUrl + $"/{championId}"));
 }
示例#30
0
 public StaticLanguageStrings GetLanguageStrings()
 {
     return(RiotApi.GetObject <StaticLanguageStrings>(BaseUrl + "/language-strings"));
 }