Skip to content

Score card

A match, or a scoreboard of them, in any sport — the two teams face to face, the clock, the score by period and the match's events.

On this page
Open
The score card, a match being played, in an aparté chat The score card, a match being played, in an aparté chat

The two teams face to face, the score between them, and where the match stands: scheduled with its kick-off in the reader’s time, live with its clock, at half time, or finished with its winner. A team without a logo gets its monogram on its colour, in a text colour chosen to read on it.

Open

One row per match, any mix of sports and states. Several matches are always rows.

Open

The score by period and the match’s events, each on its team’s side: goals, penalties, cards, substitutions.

Open
bash
npm install @aparte/plugin-cards @aparte/core
ts
import { setupScoreCard } from '@aparte/plugin-cards/score';

setupScoreCard({ tool: 'get_match', map: (result) => result.response, variant: 'detail' });

readMatches takes API-Football, football-data.org, ESPN and TheSportsDB as they come. The fields are in the guide.