swar / nba_api

An API Client package to access the APIs for NBA.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: How to get the list of in season tournament games?

jaratec opened this issue · comments

NBA API Version

1.4.1

Issue

How can I use the leaguegamefinder endpoint to get the list of in-season tournament games? The following code snippet does not work.
Also, are the valid values for season_type_nullable parameter documented?

Code

from nba_api.stats.endpoints import leaguegamefinder

gamefinder = leaguegamefinder.LeagueGameFinder(season_nullable='2023-24',
league_id_nullable='00',
season_type_nullable='IST', # what are the valid values? 'Regular Season', 'IST', 'PlayIn', 'Playoffs'
player_or_team_abbreviation='T')

@jaratec - Will get this look at this weekend.