Teams

Head-to-head series vs an opponent

Changed on

Public. { record: { wins, losses, ties }, meetings: [{ gameId, date, homeAbbr, awayAbbr, homeScore, awayScore }] } from the perspective of {id}. The 5 most recent decided meetings (live games excluded so the list and the record agree). Empty history is a valid 200. 400 without opponentId, 404 for unknown teams.

get/api/teams/{id}/head-to-head

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    none required

Path parameters

idstring required

Query parameters

opponentIdstring required

Response

{ success, data: { record, meetings } }

Changes