Skip to contents

Games (schedule and results) of a season filtered by board, round, team and game; 0 means any.

Endpoint: GET https://basket.co.il/ws/ws.asmx/Games

Usage

ibba_games(
  season,
  board_id = 0,
  board_round = 0,
  team_id = 0,
  team_uid = 0,
  game_id = 0
)

Arguments

season

(integer required): Season END year (2026 = 2025-26); sent to the host as cYear unchanged.

board_id

(integer, default 0): Competition (board) id: 5 league, 10 cup, 16 / 26 / 17 playoff quarterfinals / semifinals / final, 33 play-in, 34 Supercup. 0 (default) for every board.

board_round

(integer, default 0): Round (game number) within the board; 0 (default) for every round.

team_id

(integer, default 0): Team-season id; 0 (default) for every team.

team_uid

(integer, default 0): IBBA club id; 0 (default) for every club.

game_id

(integer, default 0): IBBA game id; 0 (default) for every game.

Value

A hoopR_data tibble with these columns:

col_nametypedescription
game_idintegerIBBA game id (key space: basket.co.il games). Joins ibba_games to ibba_box_score; in ibba_games_ex it is an EXTERNAL game id (the ig_ space, e.g. 8888 for a pre-season game).
game_dateDateLocal Israel date of the game.
seasonintegerSeason END year as an integer (2026 = 2025-26): the host's own cYear, no mapping.
home_team_idintegerHome team-season id (team1 on the wire; verified home against Segev). On external boards (board_id >= 1001) an external-team id (the ig_team_ space), not a team-season.
away_team_idintegerAway team-season id (team2 on the wire). On external boards an external-team id.
home_team_hecharacterHome team name in Hebrew, HTML-unescaped.
away_team_hecharacterAway team name in Hebrew, HTML-unescaped.
home_teamcharacterHome team name in English; null for external games, which carry Hebrew names only.
away_teamcharacterAway team name in English; null for external games.
home_logo_urlcharacterAbsolute URL of the home team logo.
away_logo_urlcharacterAbsolute URL of the away team logo.
home_scoreintegerHome final score; 0 before the game is played.
away_scoreintegerAway final score; 0 before the game is played.
board_idintegerCompetition (board) id: 5 league, 10 cup, 16 / 26 / 17 playoff quarterfinals / semifinals / final, 33 play-in, 34 Supercup, 11 the 2004-05 semifinal group; 1001+ external competitions (1001 EuroLeague, 1003 Champions League, 1005 pre-season, 1008 EuroBasket, 1012 EuroCup, 1013 State Cup).
board_name_hecharacterCompetition name in Hebrew, HTML-unescaped.
board_namecharacterCompetition name in English ('Winner League'); null for external boards.
roundintegerRound (game number) within the board; null for external games.
tip_offcharacterTip-off 'HH:MM', local Israel time, as text; null in 2004-05. It can disagree with Segev (game 26646: 20:15 here, 19:30 in Segev).
venue_hecharacterVenue in Hebrew, HTML-unescaped; null in 2004-05.
venuecharacterVenue in English, HTML-unescaped; null in 2004-05.
referees_hecharacterReferees' names in Hebrew, comma-separated; ', , ' when unknown.
attendanceintegerAttendance; 0 when unknown.
overtimelogicalTrue when the game went to overtime.
overtimesintegerNumber of overtime periods played.
home_score_by_periodcharacterHome points per period, pipe-separated ('18|23|30|21'); null for external games.
away_score_by_periodcharacterAway points per period, pipe-separated ('29|26|27|22'); null for external games.
tickets_urlcharacterTicketing URL; null when none.
external_idcharacterThe wire's ExternalID: the Segev game id (a string) for league games from 2025-26, a news URL for pre-season games, null before 2025-26.
segev_game_idintegerexternal_id read as an integer Segev game id (digits only), else null; joins ibba_segev_* game_id. Derived by the parser.
is_externallogicalTrue when board_id >= 1001 (an external competition, whose team ids are not team-seasons). Derived by the parser.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in ibba_configuration().

Examples

# \donttest{
  try(ibba_games(board_id = 5, board_round = 1, season = 2026))
#> ── IBBA games ─────────────────────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-10-31 21:30:45 UTC
#> # A tibble: 7 × 30
#>   game_id game_date  season home_team_id away_team_id home_team_he  away_team_he
#>     <int> <date>      <int>        <int>        <int> <chr>         <chr>       
#> 1   26391 2025-10-12   2026         1110         1114 "הפועל IBI ת… עירוני לאטי…
#> 2   26392 2025-10-12   2026         1120         1109 "הפועל אלטשו… מכבי Rapyd …
#> 3   26394 2025-10-12   2026         1119         1122 "הפועל Rivul… הפועל גילת …
#> 4   26393 2025-10-12   2026         1112         1116 "הפועל מידטא… עירוני חי מ…
#> 5   26390 2025-10-12   2026         1111         1123 "מכבי קבוצת … מכבי תפוזינ…
#> 6   26395 2025-10-13   2026         1124         2109 "מכבי אב־גד … אליצור נתניה
#> 7   26389 2025-12-24   2026         1118         1113 "בני Penlink… הפועל נתנאל…
#> # ℹ 23 more variables: home_team <chr>, away_team <chr>, home_logo_url <chr>,
#> #   away_logo_url <chr>, home_score <int>, away_score <int>, board_id <int>,
#> #   board_name_he <chr>, board_name <chr>, round <int>, tip_off <chr>,
#> #   venue_he <chr>, venue <chr>, referees_he <chr>, attendance <int>,
#> #   overtime <lgl>, overtimes <int>, home_score_by_period <chr>,
#> #   away_score_by_period <chr>, tickets_url <chr>, external_id <chr>,
#> #   segev_game_id <int>, is_external <lgl>
# }