nba_api icon indicating copy to clipboard operation
nba_api copied to clipboard

[Bug]: LeagueGameFinder endpoint not filtering for game_id

Open RiccardoBarbieri opened this issue 1 year ago • 2 comments

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 avatar Jun 07 '24 15:06 RiccardoBarbieri

@RiccardoBarbieri - Will get this look at this weekend.

rsforbes avatar Jun 08 '24 14:06 rsforbes

@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.

rsforbes avatar Oct 23 '24 15:10 rsforbes

Included warning in code as no longer supported by the NBA itself.

rsforbes avatar Nov 14 '25 13:11 rsforbes