Live, final and upcoming games from the host fill the screen as broadcast scorebugs, live games first, then finals, then later games, with a favourite team's games leading and marked. Scores are the hero; upcoming games show their start time in the score column and finals point to the winner. The board sizes itself to the slate: one game becomes a feature scorebug, a few games grow large, and a full slate shares balanced pages that turn every eight seconds. Portrait screens get a stacked layout of their own. When the feed falls behind, the board says when it last updated. Under Primetime, scorebugs rise in on a stagger, scores count up, live tags zip in and postponed games wear amber brackets over a slow scoreboard-ribbon background. Reduced motion rests on a composed still.
Live card
Category: Sports. Tags: Scoreboards, Schools and campuses, Bars and pubs.
Data and privacy
Feed: screenrig.scores/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "" | maxLength: 40 | Empty uses the league name. |
count | integer | 6 | minimum: 1; maximum: 12 | |
favourite | string | "" | maxLength: 8 | A team's short code; its games come first and are highlighted. |
sport | string | "other" | "hockey", "soccer", "basketball", "football", "baseball", "other" | |
hour12 | boolean | false | ||
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
league | object, null | null | additionalProperties: false | The competition the games are from; its name is the title when title is empty. The feed's wins. |
league.name | string | maxLength: 60; Required | ||
games | array | [] | minItems: 0; maxItems: 50 | Games, the same rows as the screenrig.scores/v1 feed's games, with a few more ways to say the status. A feed wins when present; the data store supplies the same rows otherwise. |
games[].home | object | additionalProperties: false; Required | The home team. | |
games[].home.name | string | maxLength: 60; Required | ||
games[].home.short | string | maxLength: 8 | The team's short code. Without one the card takes three letters from the name. | |
games[].home.score | integer | minimum: 0; maximum: 999 | Left out until the game starts. | |
games[].away | object | additionalProperties: false; Required | The away team. | |
games[].away.name | string | maxLength: 60; Required | ||
games[].away.short | string | maxLength: 8 | The team's short code. Without one the card takes three letters from the name. | |
games[].away.score | integer | minimum: 0; maximum: 999 | Left out until the game starts. | |
games[].status | string | "scheduled", "live", "final", "postponed" | Empty works it out from statusCode, and is scheduled when there is neither. | |
games[].statusCode | string | maxLength: 8 | A sports data provider's status code such as NS, 1H, HT, Q3, P2, IN7, FT, AET or PST (API-Sports' short codes), read as the status when status is empty. A quarter, period or inning is the live clock when there is no minute. | |
games[].minute | integer | minimum: 0; maximum: 200 | The minute a live game has reached, drawn as 67'. | |
games[].added | integer | minimum: 0; maximum: 60 | The minutes of added time beside minute, drawn as 90+4'. | |
games[].start | string | maxLength: 40 | When the game starts, an ISO 8601 instant. | |
games[].clock | string | maxLength: 24 | A live game's clock beside its LIVE tag, for example 2nd · 12:41. | |
games[].period | string | maxLength: 12 | How a final went on, for example OT: Final/OT. | |
updatedAt | string | "" | maxLength: 40 | When the scores were fetched, ISO 8601 (data store only; a feed carries fetchedAt). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type scores --major 1 --file params.json --context-file context.md
Example data
{
"league": null,
"games": [],
"updatedAt": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.