Trying to access the available data from the DefenseHub endpoint and not having much success. The error I am getting is "Expecting Value". I am working in Python and have included my code below. Whether I explicitly pass through all the parameters or not the error is the same. Am I overlooking something simple or is this broken? I saw a post from a couple of years ago but it wasn't clear to me if it was adrdessed, fixed etc.
NBA API Version
1.3.1
Issue
Trying to access the available data from the DefenseHub endpoint and not having much success. The error I am getting is "Expecting Value". I am working in Python and have included my code below. Whether I explicitly pass through all the parameters or not the error is the same. Am I overlooking something simple or is this broken? I saw a post from a couple of years ago but it wasn't clear to me if it was adrdessed, fixed etc.
Code
from nba_api.stats.endpoints import DefenseHub
df=DefenseHub(game_scope_detailed='Season', league_id='00', player_or_team='Team', player_scope='All Players', season='2023-24', season_type_playoffs='Regular Season')