get_scores | R Documentation |
get_scores()
retrieves information on each game for a given date
, including but not limited to their ID; type; venue; start time; period and intermission clocks; and home and away teams' IDs, names, and scores. Access get_seasons()
for date
reference.
get_scores(date = "2025-01-01")
date |
string in 'YYYY-MM-DD' |
tibble with one row per game
scores_2025_01_02 <- get_scores(date='2025-01-02')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.