Class TopPlayersResource
General player rankings
Inheritance
System.Object
Hawf.ApiRequestBuilder<TopPlayersResource>
Hawf.Client.ApiBase<TopPlayersResource>
TrackmaniaIo.ApiClient.Resources.TmIoApiBase<TopPlayersResource>
TopPlayersResource
Namespace: TrackmaniaIo.ApiClient.Resources
Assembly: TrackmaniaIo.ApiClient.dll
Syntax
public class TopPlayersResource : TmIoApiBase<TopPlayersResource>
Constructors
| Improve this Doc View SourceTopPlayersResource(String, String, String)
Declaration
public TopPlayersResource(string projectName, string contact, string apiKey = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectName | |
System.String | contact | |
System.String | apiKey |
Methods
| Improve this Doc View SourceGetTopBy3V3Async(Int32)
Get player rankings based on 3v3 matchmaking.
Declaration
public Task<TmIoPlayerRankList<TmIoMmPosition>> GetTopBy3V3Async(int page = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | page | Pagination number |
Returns
Type | Description |
---|---|
Task<TmIoPlayerRankList<TmIoMmPosition>> |
GetTopByRoyalAsync(Int32)
Get player rankings based on royal.
Declaration
public Task<TmIoPlayerRankList<TmIoMmPosition>> GetTopByRoyalAsync(int page = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | page | Pagination number |
Returns
Type | Description |
---|---|
Task<TmIoPlayerRankList<TmIoMmPosition>> |
GetTopByTrophiesAsync(Int32)
Get player rankings based on trophies.
Declaration
public Task<TmIoPlayerRankList<TmIoTropyRankPosition>> GetTopByTrophiesAsync(int page = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | page | Pagination number |
Returns
Type | Description |
---|---|
Task<TmIoPlayerRankList<TmIoTropyRankPosition>> |