StatsHub Docs
APIEndpoint referenceEvent

/event/{id}/heatmap

Both squads with their season touch maps.

GET
/api/v2/event/{id}/heatmap

Both squads with their season touch maps. Its three query parameters are unvalidated Number() calls in the original, so they go through httpx.JSNumber for the same reason as EventPlayers.

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/heatmap"
{  "$schema": "https://example.com/schemas/EventHeatmapOKBody.json",  "data": [    "string"  ],  "message": "string"}