Skip to content

[Bug]: ScoreboardV2 not returning scores for 2025 regular season games? #596

@jeb2260

Description

@jeb2260

NBA API Version

1.11.3

Issue

I tried using the endpoint for the first day of the NBA regular season games but I don't get any of the final scores. I tried for 2024 games and it works no problem

📅 Fetching games for 2025-10-21
[['2025-10-21T00:00:00', 1, '0022500001', 1, '7:30 pm ET', '20251021/HOUOKC', 1610612760, 1610612745, '2025', 0, ' ', 'Peacock', None, None, 'Q0 - Peacock', 'Paycom Center', 0, 0], ['2025-10-21T00:00:00', 2, '0022500002', 1, '10:00 pm ET', '20251021/GSWLAL', 1610612747, 1610612744, '2025', 0, ' ', 'Peacock', None, None, 'Q0 - Peacock', 'Crypto.com Arena', 0, 0]]
[]

📅 Fetching games for 2025-10-22
[['2025-10-22T00:00:00', 1, '0022500003', 1, '7:00 pm ET', '20251022/CLENYK', 1610612752, 1610612739, '2025', 0, ' ', 'ESPN', None, None, 'Q0 - ESPN', 'Madison Square Garden', 0, 0], ['2025-10-22T00:00:00', 2, '0022500080', 1, '7:00 pm ET', '20251022/BKNCHA', 1610612766, 1610612751, '2025', 0, ' ', None, None, None, 'Q0 - ', 'Spectrum Center', 0, 0], ['2025-10-22T00:00:00', 3, '0022500081', 1, '7:00 pm ET', '20251022/MIAORL', 1610612753, 1610612748, '2025', 0, ' ', None, None, 'FDSNSU', 'Q0 - ', 'Kia Center', 0, 0], ['2025-10-22T00:00:00', 4, '0022500082', 1, '7:30 pm ET', '20251022/TORATL', 1610612737, 1610612761, '2025', 0, ' ', None, None, None, 'Q0 - ', 'State Farm Arena', 0, 0], ['2025-10-22T00:00:00', 5, '0022500083', 1, '7:30 pm ET', '20251022/PHIBOS', 1610612738, 1610612755, '2025', 0, ' ', None, None, None, 'Q0 - ', 'TD Garden', 0, 0], ['2025-10-22T00:00:00', 6, '0022500084', 1, '8:00 pm ET', '20251022/DETCHI', 1610612741, 1610612765, '2025', 0, ' ', None, None, None, 'Q0 - ', 'United Center', 0, 0], ['2025-10-22T00:00:00', 7, '0022500085', 1, '8:00 pm ET', '20251022/NOPMEM', 1610612763, 1610612740, '2025', 0, ' ', None, None, None, 'Q0 - ', 'FedExForum', 0, 0], ['2025-10-22T00:00:00', 8, '0022500086', 1, '8:00 pm ET', '20251022/WASMIL', 1610612749, 1610612764, '2025', 0, ' ', None, None, 'MNMT', 'Q0 - ', 'Fiserv Forum', 0, 0], ['2025-10-22T00:00:00', 9, '0022500087', 1, '9:00 pm ET', '20251022/LACUTA', 1610612762, 1610612746, '2025', 0, ' ', None, None, None, 'Q0 - ', 'Delta Center', 0, 0], ['2025-10-22T00:00:00', 10, '0022500004', 1, '9:30 pm ET', '20251022/SASDAL', 1610612742, 1610612759, '2025', 0, ' ', 'ESPN', None, None, 'Q0 - ESPN', 'American Airlines Center', 0, 0], ['2025-10-22T00:00:00', 11, '0022500088', 1, '10:00 pm ET', '20251022/SACPHX', 1610612756, 1610612758, '2025', 0, ' ', None, None, None, 'Q0 - ', 'PHX Arena', 0, 0], ['2025-10-22T00:00:00', 12, '0022500089', 1, '10:00 pm ET', '20251022/MINPOR', 1610612757, 1610612750, '2025', 0, ' ', None, 'KUNP', None, 'Q0 - ', 'Moda Center', 0, 0]]

Code

def fetch_games_for_date(date_str, max_retries=5, base_delay=1.0):
    print(f"📅 Fetching games for {date_str}")

    attempt = 1
    while True:
        try:
            scoreboard = ScoreboardV2(game_date=date_str, timeout=60)
            break
        except Exception as e:
            if attempt >= max_retries:
                print(f"🛑 Gave up fetching {date_str} after {attempt} attempts: {e}")
                return []
            sleep_s = base_delay * (2 ** (attempt - 1)) + random.uniform(0, 0.3)
            print(f"⏳ Retry {attempt}/{max_retries} for {date_str} after error: {e} — sleeping {sleep_s:.1f}s")
            time.sleep(sleep_s)
            attempt += 1
    # --------------------------------------------

    try:
        games = scoreboard.game_header.get_dict()["data"]
        print(games)
        linescores = scoreboard.line_score.get_dict()["data"]
        print(linescores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageResearching into a possible bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions