StatsHub Docs
APIEndpoint referenceEvent

/event/{id}/players

Both squads with their season statistics.

GET
/api/event/{id}/players

Both squads with their season statistics.

seasonId, homeTeam and awayTeam are read with JSNumber: the original passed them through a bare Number(), so omitting any of them is a 500 rather than an empty result. See httpx.JSNumber.

Path Parameters

id*integer
Formatint64

Query Parameters

awayTeam?string
homeTeam?string
seasonId?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/event/0/players"
{  "data": [    "string"  ]}