The API's current pointers: competition, edition, week, round and match.
One row: the ids the site opens by default, and the current match with its teams.
Endpoint: GET https://api2.acb.com/api/matchdata/Menu/competition-data
Value
A hoopR_data tibble, one row per record described above; the columns are always these, in this order
(sportsdataverse-py acb_competition_current):
| col_name | type | description |
| competition_id | integer | Competition the site opens by default. |
| edition_id | integer | Edition (season) the site opens by default. |
| season | integer | Season END year (2027 = 2026-27) = edition_id + 1936: the key the wrappers take. |
| week_id | integer | Week the site opens by default. |
| round_id | integer | Round the site opens by default. |
| match_grouping | character | round or week (current pointers) |
| match_id | integer | The current match (the featured game). |
| status | character | State of the current match. |
| start | POSIXct | Tip-off instant (UTC) of the current match. |
| home_team_id | integer | Home season-team entry id of the current match. |
| home_club_id | integer | Home stable club id of the current match. |
| home_team | character | Home team name of the current match. |
| home_team_abbr | character | Home team abbreviation of the current match. |
| away_team_id | integer | Away season-team entry id of the current match. |
| away_club_id | integer | Away stable club id of the current match. |
| away_team | character | Away team name of the current match. |
| away_team_abbr | character | Away team abbreviation of the current match. |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in acb_match_header().
See also
Other ACB Functions:
acb_box_info(),
acb_bracket(),
acb_bracket_games(),
acb_calendar(),
acb_career_stints(),
acb_career_trophies(),
acb_club_data(),
acb_competition_editions(),
acb_competition_rounds(),
acb_competition_weeks(),
acb_current_roster(),
acb_lead_stats(),
acb_lead_tracker(),
acb_league_zones(),
acb_lineup(),
acb_match_advanced_stats(),
acb_match_header(),
acb_match_leaders(),
acb_matchlist(),
acb_next_matches(),
acb_pbp(),
acb_period_scores(),
acb_player_advanced_stats(),
acb_player_box(),
acb_player_data(),
acb_player_matches(),
acb_player_stats(),
acb_player_totals(),
acb_quickfacts(),
acb_round_matches(),
acb_search(),
acb_season_leaders(),
acb_serie(),
acb_shots(),
acb_standings(),
acb_standings_rounds(),
acb_team_box(),
acb_team_comparison(),
acb_team_leaders(),
acb_team_matches(),
acb_team_records(),
acb_team_stats(),
acb_team_totals(),
acb_teams()
Examples
# \donttest{
try(acb_competition_current())
#> Error in acb_competition_current() :
#> api2.acb.com/api/matchdata/Menu/competition-data: the answer holds no
#> rows (competitions is empty).
# }
