Category: Events. Tags: Social and audience, Events and venues, Bars and pubs.
Previews



Views and forms
Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.
Card views, themes and publishing. Browse the gallery.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent and position, see Common properties.
Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Bingo" | maxLength: 80 | The game's name. |
balls | integer | 75 | 75, 90 | 75-ball (B-I-N-G-O, five rows of fifteen) or 90-ball (six rows of fifteen). |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
called | array | [] | maxItems: 90 | The numbers called, in the order they were called; the last is the latest call. Numbers outside the game and repeats are ignored. |
pattern | string | "Full house" | maxLength: 80 | The winning pattern's name. Full house, four corners, X, plus, line, T, L, postage stamp, diamond and frame also draw as a 5 x 5 card (75-ball games). |
patternCells | array | [] | maxItems: 25 | A custom pattern: the lit cells of the 5 x 5 card, 0 top-left, left to right and then down. Replaces the named pattern's picture. |
prize | string | "" | maxLength: 80 | The prize for this game. |
round | string | "" | maxLength: 40 | The game's place in the session, such as Game 4 of 12. |
Canvas example
Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.
{
"id": "bingo-board",
"primitive": "card",
"card": "bingo-board",
"major": 1,
"params": {
"theme": "neomustard"
},
"rect": {
"x": 0,
"y": 0,
"width": 1920,
"height": 1080
},
"layer": 0,
"content_fit": "fill",
"data": "bingo-board-main"
}
Write live data
Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.
curl --request PUT "https://api.screenrig.ai/api/card-data/bingo-board-main" \
--header "Authorization: Bearer $SCREENRIG_TOKEN" \
--header "ScreenRig-Project: $SCREENRIG_PROJECT" \
--header "Content-Type: application/json" \
--data '{"document":{"called":[],"pattern":"Full house","patternCells":[],"prize":"","round":""}}'