nba_api
nba_api copied to clipboard
[Bug]: LeagueGameFinder endpoint not filtering for game_id
NBA API Version
1.4.1
Issue
When I make a request to leaguegamefinder specifying also a valid game_id_nullable the resulting response contains records that have games that do not match the provided game id.
Code
game_found = leaguegamefinder.LeagueGameFinder(
player_or_team_abbreviation="T",
league_id_nullable="00",
game_id_nullable="0022301181"
)
@RiccardoBarbieri - Will get this look at this weekend.
@RiccardoBarbieri - It appears that the NBA has deprecated several call parameters, such as GameID. The call itself works; however, in some cases params are ignored and in other they result in an error. I'll have to check the integration tests to see the extent of parameter testing.
Included warning in code as no longer supported by the NBA itself.