StatsHub Docs
Endpoint referenceEvent

/event/{id}/players

Both squads with their season statistics.

GET
/api/v2/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/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/event/0/players"
{  "$schema": "https://example.com/schemas/EventPlayersOKBody.json",  "data": [    "string"  ]}