Class SummonerBase
Class representing the name and id of a Summoner in the API.
Inheritance
Namespace:RiotSharp.SummonerEndpoint
Assembly:RiotSharp.dll
Syntax
public class SummonerBase : object
Properties
Id
Summoner ID.
Declaration
public long Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Name
Summoner name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Region
Declaration
public Region Region { get; set; }
Property Value
Type | Description |
---|---|
Region |
Methods
GetEntireLeagues()
Retrieves leagues data for this summoner, including leagues for all of this summoner's teams synchronously.
Declaration
public List<League> GetEntireLeagues()
Returns
Type | Description |
---|---|
List<><League> | List of leagues. |
GetEntireLeaguesAsync()
Retrieves leagues data for this summoner, including leagues for all of this summoner's teams asynchronously.
Declaration
public Task<List<League>> GetEntireLeaguesAsync()
Returns
Type | Description |
---|---|
Task<><List<><League>> | List of leagues. |
GetLeagues()
Retrieve the league items for this specific summoner and not the entire league.
Declaration
public List<League> GetLeagues()
Returns
Type | Description |
---|---|
List<><League> | A list of league items for each league the summoner is in. |
GetLeaguesAsync()
Retrieve the league items for this specific summoner and not the entire league asynchronously.
Declaration
public Task<List<League>> GetLeaguesAsync()
Returns
Type | Description |
---|---|
Task<><List<><League>> | A list of league items for each league the summoner is in. |
GetMasteryPages()
Get mastery pages for this summoner synchronously.
Declaration
public List<MasteryPage> GetMasteryPages()
Returns
Type | Description |
---|---|
List<><MasteryPage> | A list of mastery pages. |
GetMasteryPagesAsync()
Get mastery pages for this summoner asynchronously.
Declaration
public Task<List<MasteryPage>> GetMasteryPagesAsync()
Returns
Type | Description |
---|---|
Task<><List<><MasteryPage>> | A list of mastery pages. |
GetRecentGames()
Get the 10 most recent games for this summoner synchronously.
Declaration
public List<Game> GetRecentGames()
Returns
Type | Description |
---|---|
List<><Game> | A list of the 10 most recent games. |
GetRecentGamesAsync()
Get the 10 most recent games for this summoner asynchronously.
Declaration
public Task<List<Game>> GetRecentGamesAsync()
Returns
Type | Description |
---|---|
Task<><List<><Game>> | A list of the 10 most recent games. |
GetRunePages()
Get rune pages for this summoner synchronously.
Declaration
public List<RunePage> GetRunePages()
Returns
Type | Description |
---|---|
List<><RunePage> | A list of rune pages. |
GetRunePagesAsync()
Get rune pages for this summoner asynchronously.
Declaration
public Task<List<RunePage>> GetRunePagesAsync()
Returns
Type | Description |
---|---|
Task<><List<><RunePage>> | A list of rune pages. |
GetStatsRanked()
Get ranked stats for this summoner synchronously, for the current season. Includes statistics for Twisted Treeline and Summoner's Rift.
Declaration
public List<ChampionStats> GetStatsRanked()
Returns
Type | Description |
---|---|
List<><ChampionStats> | A list of champions stats. |
GetStatsRanked(Season)
Get ranked stats for this summoner synchronously. Includes statistics for Twisted Treeline and Summoner's Rift.
Declaration
public List<ChampionStats> GetStatsRanked(Season season)
Parameters
Type | Name | Description |
---|---|---|
Season | season | Season for which you want the stats. |
Returns
Type | Description |
---|---|
List<><ChampionStats> | A list of champions stats. |
GetStatsRankedAsync()
Get ranked stats for this summoner asynchronously, for the current season. Includes statistics for Twisted Treeline and Summoner's Rift.
Declaration
public Task<List<ChampionStats>> GetStatsRankedAsync()
Returns
Type | Description |
---|---|
Task<><List<><ChampionStats>> | A list of champions stats. |
GetStatsRankedAsync(Season)
Get ranked stats for this summoner asynchronously. Includes statistics for Twisted Treeline and Summoner's Rift.
Declaration
public Task<List<ChampionStats>> GetStatsRankedAsync(Season season)
Parameters
Type | Name | Description |
---|---|---|
Season | season | Season for which you want the stats. |
Returns
Type | Description |
---|---|
Task<><List<><ChampionStats>> | A list of champions stats. |
GetStatsSummaries()
Get player stats summaries for this summoner synchronously, for the current season. One summary is returned per queue type.
Declaration
public List<PlayerStatsSummary> GetStatsSummaries()
Returns
Type | Description |
---|---|
List<><PlayerStatsSummary> | A list of player stats summaries. |
GetStatsSummaries(Season)
Get player stats summaries for this summoner synchronously. One summary is returned per queue type.
Declaration
public List<PlayerStatsSummary> GetStatsSummaries(Season season)
Parameters
Type | Name | Description |
---|---|---|
Season | season | Season for which you want the stats. |
Returns
Type | Description |
---|---|
List<><PlayerStatsSummary> | A list of player stats summaries. |
GetStatsSummariesAsync()
Get player stats summaries for this summoner asynchronously, for the current season. One summary is returned per queue type.
Declaration
public Task<List<PlayerStatsSummary>> GetStatsSummariesAsync()
Returns
Type | Description |
---|---|
Task<><List<><PlayerStatsSummary>> | A list of player stats summaries. |
GetStatsSummariesAsync(Season)
Get player stats summaries for this summoner asynchronously. One summary is returned per queue type.
Declaration
public Task<List<PlayerStatsSummary>> GetStatsSummariesAsync(Season season)
Parameters
Type | Name | Description |
---|---|---|
Season | season | Season for which you want the stats. |
Returns
Type | Description |
---|---|
Task<><List<><PlayerStatsSummary>> | A list of player stats summaries. |
GetTeams()
Get team information for this summoner synchronously.
Declaration
public List<Team> GetTeams()
Returns
Type | Description |
---|---|
List<><Team> | List of teams. |
GetTeamsAsync()
Get team information for this summoner asynchronously.
Declaration
public Task<List<Team>> GetTeamsAsync()
Returns
Type | Description |
---|---|
Task<><List<><Team>> | List of teams. |