Class PvpClient
- Namespace
- GuildWars2.Pvp
- Assembly
- GW2SDK.dll
Provides query methods for PvP matches, seasons, rank, leaderboards, equipment and mist chanpions.
public sealed class PvpClient
- Inheritance
-
PvpClient
- Inherited Members
Constructors
- PvpClient(HttpClient)
Initializes a new instance of the PvpClient class.
Methods
- GetAmuletById(int, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a PvP amulet by its ID.
- GetAmulets(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all PvP amulets.
- GetAmuletsByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves PvP amulets by their IDs.
- GetAmuletsByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of PvP amulets.
- GetAmuletsIndex(CancellationToken)
Retrieves the IDs of all PvP amulets.
- GetGameById(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves a PvP game by its ID. This endpoint is only accessible with a valid access token.
- GetGames(string?, MissingMemberBehavior, CancellationToken)
Retrieves the 10 most recent PvP games played on the account associated with the access token. This endpoint is only accessible with a valid access token.
- GetGamesByIds(IEnumerable<string>, string?, MissingMemberBehavior, CancellationToken)
Retrieves PvP games by their IDs. This endpoint is only accessible with a valid access token.
- GetGamesByPage(int, int?, string?, MissingMemberBehavior, CancellationToken)
Retrieves a page of PvP games. This endpoint is only accessible with a valid access token.
- GetGamesIndex(string?, MissingMemberBehavior, CancellationToken)
Retrieves the IDs of the 10 most recent PvP games played on the account associated with the access token. This endpoint is only accessible with a valid access token.
- GetLeaderboardEntries(string, string, string, int, int?, MissingMemberBehavior, CancellationToken)
Retrieves a page of the specified leaderboard in the specified PvP League season.
- GetLeaderboardIds(string, CancellationToken)
Gets the IDs of leaderboards in the specified PvP League season.
- GetLeaderboardRegions(string, string, CancellationToken)
Gets the regions of the specified leaderboard in the specified PvP League season.
- GetMistChampionById(string, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a Mist Champion by its ID.
- GetMistChampionByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of Mist Champions.
- GetMistChampions(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all Mist Champions.
- GetMistChampionsByIds(IEnumerable<string>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves Mist Champions by their IDs.
- GetMistChampionsIndex(CancellationToken)
Retrieves the IDs of all Mist Champions.
- GetRankById(int, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a PvP rank by its ID.
- GetRanks(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all PvP ranks.
- GetRanksByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves PvP ranks by their IDs.
- GetRanksByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of PvP ranks.
- GetRanksIndex(CancellationToken)
Retrieves the IDs of all PvP ranks.
- GetSeasonById(string, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a PvP League season by its ID.
- GetSeasons(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all PvP League seasons.
- GetSeasonsByIds(IEnumerable<string>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves PvP League seasons by their IDs.
- GetSeasonsByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of PvP League seasons.
- GetSeasonsIndex(CancellationToken)
Retrieves the IDs of all PvP League seasons.
- GetStandings(string?, MissingMemberBehavior, CancellationToken)
Retrieves the PvP League standings for the account associated with the access token. This endpoint is only accessible with a valid access token.
- GetStats(string?, MissingMemberBehavior, CancellationToken)
Retrieves the PvP statistics of the account associated with the access token. This endpoint is only accessible with a valid access token.
- GetUnlockedMistChampions(string?, CancellationToken)
Retrieves the IDs of Mist Champions unlocked on the account associated with the access token. This endpoint is only accessible with a valid access token.