Contains all the functionality to access statistics by event or division.
Statistics
Retrieves totals of statistics in a grouped list.
Endpoint
GET https://basketball.exposureevents.com/api/v1/statistics
Parameters
Name | Type | Default | Required | Description |
---|---|---|---|---|
PageSize | integer | 10 | ||
Categories | enumeration | Statistic leader categories. Values should be separated by commas. | ||
EventId | integer | The event id. | ||
DivisionId | integer |
{
"Players": {
"Statistics": [
{
"Name": "Points Per Game",
"Participants": [
{
"LastName": "Smith",
"FirstName": "Joe",
"Value": 5.2,
"PlayerId": 12000
},
{
"LastName": "Paige",
"FirstName": "Dallas",
"Value": 3.0,
"PlayerId": 12001
}
]
},
{
"Name": "Rebounds Per Game",
"Participants": [
{
"LastName": "Smith",
"FirstName": "Joe",
"Value": 5.2,
"PlayerId": 12000
},
{
"LastName": "Paige",
"FirstName": "Dallas",
"Value": 3.0,
"PlayerId": 12001
}
]
}
]
}
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Players>
<Statistics>
<StatisticCategory>
<Name>Points Per Game</Name>
<Participants>
<Statistics>
<FirstName>Joe</FirstName>
<LastName>Smith</LastName>
<PlayerId>12000</PlayerId>
<Value>5.2</Value>
</Statistics>
<Statistics>
<FirstName>Dallas</FirstName>
<LastName>Paige</LastName>
<PlayerId>12001</PlayerId>
<Value>3</Value>
</Statistics>
</Participants>
</StatisticCategory>
<StatisticCategory>
<Name>Rebounds Per Game</Name>
<Participants>
<Statistics>
<FirstName>Joe</FirstName>
<LastName>Smith</LastName>
<PlayerId>12000</PlayerId>
<Value>5.2</Value>
</Statistics>
<Statistics>
<FirstName>Dallas</FirstName>
<LastName>Paige</LastName>
<PlayerId>12001</PlayerId>
<Value>3</Value>
</Statistics>
</Participants>
</StatisticCategory>
</Statistics>
</Players>
</Response>