Entry point for the API.
InheritanceSystem.Object
RiotApi
Namespace:RiotSharp Assembly:RiotSharp.dll Syntaxpublic class RiotApi : object, IRiotApi
Methods GetAllChampionsMasteryEntries(Platform, Int64)
Gets all champions mastery by summoner ID synchronously.
Declarationpublic List<ChampionMastery> GetAllChampionsMasteryEntries(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
Returns Type Description List<><ChampionMastery>All champions mastery entries for the specified summoner ID.
Implements GetAllChampionsMasteryEntriesAsync(Platform, Int64)Gets all champions mastery by summoner ID asynchronously.
Declarationpublic Task<List<ChampionMastery>> GetAllChampionsMasteryEntriesAsync(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
Returns Type Description Task<><List<><ChampionMastery>>All champions mastery entries for the specified summoner ID.
Implements GetChallengerLeague(Region, Queue)Get the challenger league for a particular queue.
Declarationpublic League GetChallengerLeague(Region region, Queue queue)
Parameters Type Name Description Region region
Region in which you wish to look for a challenger league.
Queue queueQueue in which you wish to look for a challenger league.
Returns Type Description LeagueA league which contains all the challengers for this specific region and queue.
Implements GetChallengerLeagueAsync(Region, Queue)Get the challenger league for a particular queue asynchronously.
Declarationpublic Task<League> GetChallengerLeagueAsync(Region region, Queue queue)
Parameters Type Name Description Region region
Region in which you wish to look for a challenger league.
Queue queueQueue in which you wish to look for a challenger league.
Returns Type Description Task<><League>A league which contains all the challengers for this specific region and queue.
Implements GetChampion(Region, Int32)Get a champion from its id synchronously.
Declarationpublic Champion GetChampion(Region region, int championId)
Parameters Type Name Description Region region
Region in which you wish to look for a champion.
System.Int32 championIdId of the champion you're looking for.
Returns Implements GetChampionAsync(Region, Int32)Get a champion from its id asynchronously.
Declarationpublic Task<Champion> GetChampionAsync(Region region, int championId)
Parameters Type Name Description Region region
Region in which you wish to look for a champion.
System.Int32 championIdId of the champion you're looking for.
Returns Type Description Task<><Champion>A champion.
Implements GetChampionMastery(Platform, Int64, Int32)Gets a champion mastery by summoner ID synchronously.
Declarationpublic ChampionMastery GetChampionMastery(Platform platform, long summonerId, int championId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
System.Int32 championIdID of the champion for which to retrieve mastery.
Returns Type Description ChampionMasteryChampion mastery for summoner ID and champion ID.
Implements GetChampionMasteryAsync(Platform, Int64, Int32)Gets a champion mastery by summoner ID asynchronously.
Declarationpublic Task<ChampionMastery> GetChampionMasteryAsync(Platform platform, long summonerId, int championId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
System.Int32 championIdID of the champion for which to retrieve mastery.
Returns Type Description Task<><ChampionMastery>Champion mastery for summoner ID and champion ID.
Implements GetChampions(Region, Boolean)Get the list of champions by region synchronously.
Declarationpublic List<Champion> GetChampions(Region region, bool freeToPlay = false)
Parameters Type Name Description Region region
Region in which you wish to look for champions.
System.Boolean freeToPlayIf set to true will return only free to play champions.
Returns Type Description List<><Champion>A list of champions.
Implements GetChampionsAsync(Region, Boolean)Get the list of champions by region asynchronously.
Declarationpublic Task<List<Champion>> GetChampionsAsync(Region region, bool freeToPlay = false)
Parameters Type Name Description Region region
Region in which you wish to look for champions.
System.Boolean freeToPlayIf set to true will return only free to play champions.
Returns Type Description Task<><List<><Champion>>A list of champions.
Implements GetCurrentGame(Platform, Int64)Gets the current game by summoner ID synchronously.
Declarationpublic CurrentGame GetCurrentGame(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve current game.
Returns Type Description CurrentGameCurrent game of the summoner.
Implements GetCurrentGameAsync(Platform, Int64)Gets the current game by summoner ID asynchronously.
Declarationpublic Task<CurrentGame> GetCurrentGameAsync(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve current game.
Returns Type Description Task<><CurrentGame>Current game of the summoner.
Implements GetEntireLeagues(Region, List<Int64>)Retrieves the entire leagues for the specified summoners, you can submit more than 10 summoner ids.
Declarationpublic Dictionary<long, List<League>> GetEntireLeagues(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of summoners.
List<><System.Int64> summonerIdsThe summoner ids, not limited to 10.
Returns Type Description Dictionary<, ><System.Int64, List<><League>>A map of list of leagues indexed by the summoner id.
Implements GetEntireLeagues(Region, List<String>)Retrieves the entire leagues for the specified teams, you can submit more than 10 team ids.
Declarationpublic Dictionary<string, List<League>> GetEntireLeagues(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of teams.
List<><System.String> teamIdsThe team ids, not limited to 10.
Returns Type Description Dictionary<, ><System.String, List<><League>>A map of list of entire leagues indexed by the team id.
Implements GetEntireLeaguesAsync(Region, List<Int64>)Retrieves the entire leagues for the specified summoners asynchronously, you can submit more than 10 summoner ids.
Declarationpublic Task<Dictionary<long, List<League>>> GetEntireLeaguesAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of summoners.
List<><System.Int64> summonerIdsThe summoner ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.Int64, List<><League>>>A map of list of leagues indexed by the summoner id.
Implements GetEntireLeaguesAsync(Region, List<String>)Retrieves the entire leagues for the specified teams asynchronously, you can submit more than 10 team ids.
Declarationpublic Task<Dictionary<string, List<League>>> GetEntireLeaguesAsync(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of teams.
List<><System.String> teamIdsThe team ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.String, List<><League>>>A map of list of entire leagues indexed by the team id.
Implements GetFeaturedGames(Region)Gets the featured games by region synchronously.
Declarationpublic FeaturedGames GetFeaturedGames(Region region)
Parameters Type Name Description Region region
Region where to retrieve the data.
Returns Implements GetFeaturedGamesAsync(Region)Gets the featured games by region asynchronously.
Declarationpublic Task<FeaturedGames> GetFeaturedGamesAsync(Region region)
Parameters Type Name Description Region region
Region where to retrieve the data.
Returns Type Description Task<><FeaturedGames>Featured games for the region.
Implements GetInstance(String, Int32, Int32)Get the instance of RiotApi.
Declarationpublic static RiotApi GetInstance(string apiKey, int rateLimitPer10s = 10, int rateLimitPer10m = 500)
Parameters Type Name Description System.String apiKey
The api key.
System.Int32 rateLimitPer10sThe 10 seconds rate limit for your production api key.
System.Int32 rateLimitPer10mThe 10 minutes rate limit for your production api key.
Returns Type Description RiotApiThe instance of RiotApi.
GetLeagues(Region, List<Int64>)Retrieves the league entries for the specified summoners, you can submit more than 10 summoner ids.
Declarationpublic Dictionary<long, List<League>> GetLeagues(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of summoners.
List<><System.Int64> summonerIdsThe summoner ids, not limited to 10.
Returns Type Description Dictionary<, ><System.Int64, List<><League>>A map of list of league entries indexed by the summoner id.
Implements GetLeagues(Region, List<String>)Retrieves the league entries for the specified teams, you can submit more than 10 team ids.
Declarationpublic Dictionary<string, List<League>> GetLeagues(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of teams.
List<><System.String> teamIdsThe team ids, not limited to 10.
Returns Type Description Dictionary<, ><System.String, List<><League>>A map of list of leagues indexed by the team id.
Implements GetLeaguesAsync(Region, List<Int64>)Retrieves the league entries for the specified summoners asynchronously, you can submit more than 10 summoner ids.
Declarationpublic Task<Dictionary<long, List<League>>> GetLeaguesAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of summoners.
List<><System.Int64> summonerIdsThe summoner ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.Int64, List<><League>>>A map of list of league entries indexed by the summoner id.
Implements GetLeaguesAsync(Region, List<String>)Retrieves the league entries for the specified teams asynchronously, you can submit more than 10 team ids.
Declarationpublic Task<Dictionary<string, List<League>>> GetLeaguesAsync(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which you wish to look for the leagues of teams.
List<><System.String> teamIdsThe team ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.String, List<><League>>>A map of list of league entries indexed by the team id.
Implements GetMasterLeague(Region, Queue)Get the master league for a particular queue.
Declarationpublic League GetMasterLeague(Region region, Queue queue)
Parameters Type Name Description Region region
Region in which you wish to look for a master league.
Queue queueQueue in which you wish to look for a master league.
Returns Type Description LeagueA league which contains all the masters for this specific region and queue.
Implements GetMasterLeagueAsync(Region, Queue)Get the master league for a particular queue asynchronously.
Declarationpublic Task<League> GetMasterLeagueAsync(Region region, Queue queue)
Parameters Type Name Description Region region
Region in which you wish to look for a master league.
Queue queueQueue in which you wish to look for a master league.
Returns Type Description Task<><League>A league which contains all the masters for this specific region and queue.
Implements GetMasteryPages(Region, List<Int64>)Get mastery pages for a list of summoner ids synchronously, you can submit more than 40 summoner ids.
Declarationpublic Dictionary<long, List<MasteryPage>> GetMasteryPages(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for mastery pages for a list of summoners.
List<><System.Int64> summonerIdsA list of summoners' ids for which you wish to retrieve the masteries, not limited to 40.
Returns Type Description Dictionary<, ><System.Int64, List<><MasteryPage>>A dictionary where the keys are the summoners' ids and the values are lists of mastery pages.
Implements GetMasteryPagesAsync(Region, List<Int64>)Get mastery pages for a list of summoner ids asynchronously, you can submit more than 40 summoner ids.
Declarationpublic Task<Dictionary<long, List<MasteryPage>>> GetMasteryPagesAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for mastery pages for a list of summoners.
List<><System.Int64> summonerIdsA list of summoners' ids for which you wish to retrieve the masteries, not limited to 40.
Returns Type Description Task<><Dictionary<, ><System.Int64, List<><MasteryPage>>>A dictionary where the keys are the summoners' ids and the values are lists of mastery pages.
Implements GetMatch(Region, Int64, Boolean)Get match information about a specific match synchronously.
Declarationpublic MatchDetail GetMatch(Region region, long matchId, bool includeTimeline = false)
Parameters Type Name Description Region region
Region in which the match took place.
System.Int64 matchIdThe match ID to be retrieved.
System.Boolean includeTimelineWhether or not to include timeline information.
Returns Type Description MatchDetailA match detail object containing information about the match.
Implements GetMatchAsync(Region, Int64, Boolean)Get match information about a specific match asynchronously.
Declarationpublic Task<MatchDetail> GetMatchAsync(Region region, long matchId, bool includeTimeline = false)
Parameters Type Name Description Region region
Region in which the match took place.
System.Int64 matchIdThe match ID to be retrieved.
System.Boolean includeTimelineWhether or not to include timeline information.
Returns Type Description Task<><MatchDetail>A match detail object containing information about the match.
Implements GetMatchList(Region, Int64, List<Int64>, List<Queue>, List<Season>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>)Get the list of matches of a specific summoner synchronously.
Declarationpublic MatchList GetMatchList(Region region, long summonerId, List<long> championIds = null, List<Queue> rankedQueues = null, List<Season> seasons = null, DateTime? beginTime = null, DateTime? endTime = null, int ? beginIndex = null, int ? endIndex = null)
Parameters Type Name Description Region region
Region in which the summoner is.
System.Int64 summonerIdSummoner ID for which you want to retrieve the match list.
List<><System.Int64> championIdsList of champion IDS to use for fetching games.
List<><Queue> rankedQueuesList of ranked queue types to use for fetching games. Non-ranked queue types will be ignored.
List<><Season> seasonsList of seasons for which to filter the match list by.
System.Nullable<><DateTime> beginTimeThe earliest date you wish to get matches from.
System.Nullable<><DateTime> endTimeThe latest date you wish to get matches from.
System.Nullable<><System.Int32> beginIndexThe begin index to use for fetching matches.
System.Nullable<><System.Int32> endIndexThe end index to use for fetching matches.
Returns Type Description MatchListA list of Match references object.
GetMatchListAsync(Region, Int64, List<Int64>, List<Queue>, List<Season>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Int32>)Get the list of matches of a specific summoner asynchronously.
Declarationpublic Task<MatchList> GetMatchListAsync(Region region, long summonerId, List<long> championIds = null, List<Queue> rankedQueues = null, List<Season> seasons = null, DateTime? beginTime = null, DateTime? endTime = null, int ? beginIndex = null, int ? endIndex = null)
Parameters Type Name Description Region region
Region in which the summoner is.
System.Int64 summonerIdSummoner ID for which you want to retrieve the match list.
List<><System.Int64> championIdsList of champion IDS to use for fetching games.
List<><Queue> rankedQueuesList of ranked queue types to use for fetching games. Non-ranked queue types will be ignored.
List<><Season> seasonsList of seasons for which to filter the match list by.
System.Nullable<><DateTime> beginTimeThe earliest date you wish to get matches from.
System.Nullable<><DateTime> endTimeThe latest date you wish to get matches from.
System.Nullable<><System.Int32> beginIndexThe begin index to use for fetching matches.
System.Nullable<><System.Int32> endIndexThe end index to use for fetching matches.
Returns Type Description Task<><MatchList>A list of Match references object.
GetRecentGames(Region, Int64)Get the 10 most recent games by summoner ID synchronously.
Declarationpublic List<Game> GetRecentGames(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve recent games.
Returns Type Description List<><Game>A list of the 10 most recent games.
Implements GetRecentGamesAsync(Region, Int64)Get the 10 most recent games by summoner ID asynchronously.
Declarationpublic Task<List<Game>> GetRecentGamesAsync(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve recent games.
Returns Type Description Task<><List<><Game>>A list of the 10 most recent games.
Implements GetRunePages(Region, List<Int64>)Get rune pages for a list of summoner ids synchronously, you can submit more than 40 summoner ids.
Declarationpublic Dictionary<long, List<RunePage>> GetRunePages(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for mastery pages for a list of summoners.
List<><System.Int64> summonerIdsA list of summoner ids for which you wish to retrieve the masteries, not limited to 40.
Returns Type Description Dictionary<, ><System.Int64, List<><RunePage>>A dictionary where the keys are the summoners' ids and the values are lists of rune pages.
Implements GetRunePagesAsync(Region, List<Int64>)Get rune pages for a list of summoner ids asynchronously, you can submit more than 40 summoner ids.
Declarationpublic Task<Dictionary<long, List<RunePage>>> GetRunePagesAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for mastery pages for a list of summoners.
List<><System.Int64> summonerIdsA list of summoner ids for which you wish to retrieve the masteries, not limited to 40.
Returns Type Description Task<><Dictionary<, ><System.Int64, List<><RunePage>>>A dictionary where the keys are the summoners' ids and the values are lists of rune pages.
Implements GetStatsRanked(Region, Int64)Get ranked stats by summoner ID synchronously.
Declarationpublic List<ChampionStats> GetStatsRanked(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve ranked stats.
Returns Implements GetStatsRanked(Region, Int64, Season)Get ranked stats by summoner ID synchronously.
Declarationpublic List<ChampionStats> GetStatsRanked(Region region, long summonerId, Season season)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve ranked stats.
Season seasonIf specified, stats for the given season are returned. Otherwise, stats for the current season are returned.
Returns Implements GetStatsRankedAsync(Region, Int64)Get ranked stats by summoner ID asynchronously.
Declarationpublic Task<List<ChampionStats>> GetStatsRankedAsync(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve ranked stats.
Returns Type Description Task<><List<><ChampionStats>>A list of champion stats.
Implements GetStatsRankedAsync(Region, Int64, Season)Get ranked stats by summoner ID asynchronously.
Declarationpublic Task<List<ChampionStats>> GetStatsRankedAsync(Region region, long summonerId, Season season)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve ranked stats.
Season seasonIf specified, stats for the given season are returned. Otherwise, stats for the current season are returned.
Returns Type Description Task<><List<><ChampionStats>>A list of champion stats.
Implements GetStatsSummaries(Region, Int64)Get player stats by summoner ID synchronously.
Declarationpublic List<PlayerStatsSummary> GetStatsSummaries(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve player stats.
Returns Implements GetStatsSummaries(Region, Int64, Season)Get player stats by summoner ID synchronously.
Declarationpublic List<PlayerStatsSummary> GetStatsSummaries(Region region, long summonerId, Season season)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve player stats.
Season seasonIf specified, stats for the given season are returned. Otherwise, stats for the current season are returned.
Returns Implements GetStatsSummariesAsync(Region, Int64)Get player stats by summoner ID asynchronously.
Declarationpublic Task<List<PlayerStatsSummary>> GetStatsSummariesAsync(Region region, long summonerId)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve player stats.
Returns Implements GetStatsSummariesAsync(Region, Int64, Season)Get player stats by summoner ID asynchronously.
Declarationpublic Task<List<PlayerStatsSummary>> GetStatsSummariesAsync(Region region, long summonerId, Season season)
Parameters Type Name Description Region region
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve player stats.
Season seasonIf specified, stats for the given season are returned. Otherwise, stats for the current season are returned.
Returns Implements GetSummoner(Region, Int64)Get a summoner by id synchronously.
Declarationpublic Summoner GetSummoner(Region region, long summonerId)
Parameters Type Name Description Region region
Region in which you wish to look for a summoner.
System.Int64 summonerIdId of the summoner you're looking for.
Returns Implements GetSummoner(Region, String)Get a summoner by name synchronously.
Declarationpublic Summoner GetSummoner(Region region, string summonerName)
Parameters Type Name Description Region region
Region in which you wish to look for a summoner.
System.String summonerNameName of the summoner you're looking for.
Returns Implements GetSummonerAsync(Region, Int64)Get a summoner by id asynchronously.
Declarationpublic Task<Summoner> GetSummonerAsync(Region region, long summonerId)
Parameters Type Name Description Region region
Region in which you wish to look for a summoner.
System.Int64 summonerIdId of the summoner you're looking for.
Returns Type Description Task<><Summoner>A summoner.
Implements GetSummonerAsync(Region, String)Get a summoner by name asynchronously.
Declarationpublic Task<Summoner> GetSummonerAsync(Region region, string summonerName)
Parameters Type Name Description Region region
Region in which you wish to look for a summoner.
System.String summonerNameName of the summoner you're looking for.
Returns Type Description Task<><Summoner>A summoner.
Implements GetSummonerName(Region, Int64)Get a summoner's name and id synchronously.
Declarationpublic SummonerBase GetSummonerName(Region region, long summonerId)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
System.Int64 summonerIdId of the summoner you're looking for.
Returns Implements GetSummonerNameAsync(Region, Int64)Get a summoner's name and id asynchronously.
Declarationpublic Task<SummonerBase> GetSummonerNameAsync(Region region, long summonerId)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
System.Int64 summonerIdId of the summoner you're looking for.
Returns Type Description Task<><SummonerBase>A summoner (id and name).
Implements GetSummonerNames(Region, List<Int64>)Get a list of summoner's names and ids synchronously, you can submit more than 40 summoner ids.
Declarationpublic List<SummonerBase> GetSummonerNames(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.Int64> summonerIdsList of ids of the summoners you're looking for, not limited to 40.
Returns Type Description List<><SummonerBase>A list of ids and names of summoners.
Implements GetSummonerNamesAsync(Region, List<Int64>)Get a list of summoner's names and ids asynchronously, you can submit more than 40 summoner ids.
Declarationpublic Task<List<SummonerBase>> GetSummonerNamesAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.Int64> summonerIdsList of ids of the summoners you're looking for, not limited to 40.
Returns Type Description Task<><List<><SummonerBase>>A list of ids and names of summoners.
Implements GetSummoners(Region, List<Int64>)Get summoners by ids synchronously, you can submit more than 40 summoner ids.
Declarationpublic List<Summoner> GetSummoners(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.Int64> summonerIdsList of ids of the summoners you're looking for, not limited to 40.
Returns Type Description List<><Summoner>A list of summoners.
Implements GetSummoners(Region, List<String>)Get summoners by names synchronously, you can submit more than 40 summoner names.
Declarationpublic List<Summoner> GetSummoners(Region region, List<string> summonerNames)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.String> summonerNamesList of names of the summoners you're looking for, not limited to 40.
Returns Type Description List<><Summoner>A list of summoners.
Implements GetSummonersAsync(Region, List<Int64>)Get summoners by ids asynchronously, you can submit more than 40 summoner ids.
Declarationpublic Task<List<Summoner>> GetSummonersAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.Int64> summonerIdsList of ids of the summoners you're looking for, not limited to 40.
Returns Type Description Task<><List<><Summoner>>A list of summoners.
Implements GetSummonersAsync(Region, List<String>)Get summoners by names asynchronously, you can submit more than 40 summoner names.
Declarationpublic Task<List<Summoner>> GetSummonersAsync(Region region, List<string> summonerNames)
Parameters Type Name Description Region region
Region in which you wish to look for summoners.
List<><System.String> summonerNamesList of names of the summoners you're looking for, not limited to 40.
Returns Type Description Task<><List<><Summoner>>A list of summoners.
Implements GetTeams(Region, List<Int64>)Get the teams for the specified ids synchronously, you can submit more than 10 summoner ids.
Declarationpublic Dictionary<long, List<Team>> GetTeams(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which the teams are located.
List<><System.Int64> summonerIdsList of summoner ids, not limited to 10.
Returns Type Description Dictionary<, ><System.Int64, List<><Team>>A map of teams indexed by summoner id.
Implements GetTeams(Region, List<String>)Get the teams for the specified ids synchronously, you can submit more than 10 team ids.
Declarationpublic Dictionary<string, Team> GetTeams(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which the teams are located.
List<><System.String> teamIdsList of the team ids, not limited to 10.
Returns Type Description Dictionary<, ><System.String, Team>A map of teams indexed by their id.
Implements GetTeamsAsync(Region, List<Int64>)Get the teams for the specified ids asynchronously, you can submit more than 10 summoner ids.
Declarationpublic Task<Dictionary<long, List<Team>>> GetTeamsAsync(Region region, List<long> summonerIds)
Parameters Type Name Description Region region
Region in which the teams are located.
List<><System.Int64> summonerIdsList of summoner ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.Int64, List<><Team>>>A map of teams indexed by summoner id.
Implements GetTeamsAsync(Region, List<String>)Get the teams for the specified ids asynchronously, you can submit more than 10 team ids.
Declarationpublic Task<Dictionary<string, Team>> GetTeamsAsync(Region region, List<string> teamIds)
Parameters Type Name Description Region region
Region in which the teams are located.
List<><System.String> teamIdsList of the team ids, not limited to 10.
Returns Type Description Task<><Dictionary<, ><System.String, Team>>A map of teams indexed by their id.
Implements GetTopChampionsMasteryEntries(Platform, Int64, Int32)Gets specified number of top champion mastery entries, sorted by number of champion points descending, by summoner ID synchronously.
Declarationpublic List<ChampionMastery> GetTopChampionsMasteryEntries(Platform platform, long summonerId, int count = 3)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
System.Int32 countNumber of entries to retrieve, defaults to 3.
Returns Type Description List<><ChampionMastery>A list of the top champion mastery entries for the specified summoner ID.
Implements GetTopChampionsMasteryEntriesAsync(Platform, Int64, Int32)Gets specified number of top champion mastery entries, sorted by number of champion points descending, by summoner ID asynchronously.
Declarationpublic Task<List<ChampionMastery>> GetTopChampionsMasteryEntriesAsync(Platform platform, long summonerId, int count = 3)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
System.Int32 countNumber of entries to retrieve, defaults to 3.
Returns Type Description Task<><List<><ChampionMastery>>A list of the top champion mastery entries for the specified summoner ID.
Implements GetTotalChampionMasteryScore(Platform, Int64)Get a player's total champion mastery score, which is the sum of individual champion mastery levels, by summoner ID synchronously.
Declarationpublic int GetTotalChampionMasteryScore(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
Returns Type Description System.Int32Total champion mastery score for summoner ID.
Implements GetTotalChampionMasteryScoreAsync(Platform, Int64)Get a player's total champion mastery score, which is the sum of individual champion mastery levels, by summoner ID asynchronously.
Declarationpublic Task<int> GetTotalChampionMasteryScoreAsync(Platform platform, long summonerId)
Parameters Type Name Description Platform platform
Region where to retrieve the data.
System.Int64 summonerIdID of the summoner for which to retrieve champion mastery.
Returns Type Description Task<><System.Int32>Total champion mastery score for summoner ID.
ImplementsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4