/// <summary> /// Get ranked stats. Includes statistics for Twisted Treeline and Summoner's Rift. /// </summary> public static async Task <IRankedStats> GetRankedStatsSummariesAsync( this IHasSummonerId summoner, SeasonEnum?season = null, RegionEnum?region = null) { return(await GetRankedStatsSummariesAsync(summoner, summoner.SummonerId, season, region)); }
/// <summary> /// Get player stats summaries. One summary is returned per queue type. /// </summary> public static async Task <IEnumerable <IPlayerStatsSummary> > GetPlayerStatsSummariesAsync( this IHasSummonerId summoner, SeasonEnum?season = null, RegionEnum?region = null) { return(await GetPlayerStatsSummariesAsync(summoner, summoner.SummonerId, season, region)); }
/// <summary> /// Retrieves leagues data for summoner, including leagues for all of summoner's teams. /// </summary> public static async Task <IEnumerable <ILeague> > RetrievesLeaguesDataAsync( this IHasSummonerId summoner, RegionEnum?region = null) { return(await RetrievesLeaguesDataAsync(summoner, summoner.SummonerId, region)); }
/// <summary> /// Get recent games /// </summary> public static async Task <IEnumerable <IGame> > GetRecentGamesAsync( this IHasSummonerId summoner, RegionEnum?region = null) { return(await GetRecentGames(summoner, summoner.SummonerId, region)); }
/// <summary> /// Retrieves teams /// </summary> public static async Task <IEnumerable <ITeam> > GetTeamsBySummonerIdAsync( this IHasSummonerId summoner, RegionEnum?region = null) { return(await GetTeamsBySummonerIdAsync(summoner, summoner.SummonerId, region)); }
/// <summary> /// Get mastery pages /// </summary> public static async Task <IEnumerable <IMasteryPage> > GetMasteryPagesAsync( this IHasSummonerId summoner, RegionEnum?region = null) { return(await GetMasteryPagesAsync(summoner, summoner.SummonerId, region)); }