Method GetMatchStatsById
- Namespace
- GuildWars2.Wvw
- Assembly
- GW2SDK.dll
GetMatchStatsById(string, MissingMemberBehavior, CancellationToken)
Retrieves a WvW match by its ID.
public Task<(MatchStats Value, MessageContext Context)> GetMatchStatsById(string matchId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
matchId
stringThe match ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(MatchStats Value, MessageContext Context)>
A task that represents the API request.