NBA API Version
V1.8.0
Issue
i try to use the leaguegamefinder like the code part below.
but got error:
raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0).
i also try the GET api request with postman, seems that parameters with DateFrom & DateTo does not work now.
From this post, I tested with url parameters start_date & end_date and it worked. Interstingly, I found that DateBegin & DateEnd also worked.
Do we need to change the implementation of the api to make it happen? I'm willing to help if needed.
Code
from nba_api.stats.endpoints import leaguegamefinder, boxscoreadvancedv3
start_date = '2021-01-01'
end_date = '2021-01-31'
gamefinder = leaguegamefinder.LeagueGameFinder(date_from_nullable=start_date, date_to_nullable=end_date)
games_df = gamefinder.get_data_frames()[0]
NBA API Version
V1.8.0
Issue
i try to use the leaguegamefinder like the code part below.
but got error:
raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0).i also try the GET api request with postman, seems that parameters with DateFrom & DateTo does not work now.
From this post, I tested with url parameters start_date & end_date and it worked. Interstingly, I found that DateBegin & DateEnd also worked.
Do we need to change the implementation of the api to make it happen? I'm willing to help if needed.
Code