GET api/v{version}/player/{id}/stats
Get the stats of a player.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PlayerStatViewModelName | Description | Type | Additional information |
---|---|---|---|
Stats | PlayerStats |
None. |
Response Formats
application/json, text/json
Sample:
{ "Stats": { "NumberOfTitles": 1, "NumberOfTitlesPerGroup": { "sample string 1": 2, "sample string 3": 4 }, "NumberOfFinals": 2, "PrizeMoney": 3.1, "PrizeMoneyLastYear": 4.1, "PrizeMoneyLastTwoYear": 5.1, "SpecialMoney": 6.1, "MaxAverage": 1.1, "MaxTVAverage": 1.1, "MaxMajorAverage": 1.1, "NumberOfMatches": 7, "Average": 8.1, "StdDev": 9.1 } }
application/xml, text/xml
Sample:
<PlayerStatViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <Stats> <Average>8.1</Average> <MaxAverage>1.1</MaxAverage> <MaxMajorAverage>1.1</MaxMajorAverage> <MaxTVAverage>1.1</MaxTVAverage> <NumberOfFinals>2</NumberOfFinals> <NumberOfMatches>7</NumberOfMatches> <NumberOfTitles>1</NumberOfTitles> <NumberOfTitlesPerGroup xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value>2</d3p1:Value> </d3p1:KeyValueOfstringint> <d3p1:KeyValueOfstringint> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value>4</d3p1:Value> </d3p1:KeyValueOfstringint> </NumberOfTitlesPerGroup> <PrizeMoney>3.1</PrizeMoney> <PrizeMoneyLastTwoYear>5.1</PrizeMoneyLastTwoYear> <PrizeMoneyLastYear>4.1</PrizeMoneyLastYear> <SpecialMoney>6.1</SpecialMoney> <StdDev>9.1</StdDev> </Stats> </PlayerStatViewModel>