Add deprecation warning to ScoreboardV2 for issue #596 #609
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Deprecation Warning to ScoreboardV2
Fixes #596
Problem
ScoreboardV2returns empty line scores for 2025-26 season games between Oct 22 - Dec 25, 2025 due to an NBA backend API bug with a date-based cutoff.Solution
Add deprecation warning (following
BoxScoreTraditionalV2pattern) to guide users toScoreboardV3, which:Demo
Click to see the deprecation warning in action and verify ScoreboardV3 works correctly.
Changes
Adds standard library deprecation pattern:
DeprecationWarningin__init__(stacklevel=2)Before:
After:
Quick Validation
Finding: Cutoff at exactly Dec 25-26, 2025. V3 has no issues.
Non-breaking change - Existing code works, just shows warning.
Full analysis (optional)