You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError thown pre-game if a team's pitcher is TBD #2
I encountered this today for PIT vs. NYY. The probable pitcher for NYY is currently TBD pre-game.
It looks like the MLB stats API does not return a game.teams.<home/away>.probablePitcher in instances where the pitcher is to be determined. A null check may be needed to replace the probable pitcher name and win/loss record with "TBD" in instances where the API doesn't return this information.
Activity