Method StatsGetMatchCount
StatsGetMatchCount(String)
Gets the summary on number of played matches.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.PlayerMatchCount,Den.Dev.Grunt.Models.RawResponseContainer>> StatsGetMatchCount (string player);
Parameters
Type | Name | Description |
---|---|---|
System.String | player | The player identifier in the format "xuid(PLAYER_XUID_HERE)" |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<PlayerMatchCount,RawResponseContainer>> | An instance of PlayerMatchCount containing match counts if request was successful. Return value is null otherwise. |
Examples
Here is an example response from the API, as snapshotted on 7/21/2022:
{
"CustomMatchesPlayedCount": 8,
"MatchesPlayedCount": 11,
"MatchmadeMatchesPlayedCount": 3,
"LocalMatchesPlayedCount": 0
}