espnff
espnff copied to clipboard
issue with scoreboard
This is not an issue with your code but espnff is affected.
for some reason the scoreboard API just kind breaks when making requests for my league, for a specified matchup period, when making a request for data 2+ years old.
For example the Json get request --> http://games.espn.com/ffl/api/v2/scoreboard?leagueId=censored&seasonId=2015&matchupPeriodId=3
returns this -->{"error":[{"code":"exception","message":"java.lang.NullPointerException"}]}
If i request data for 2017 or 2018 I have no issues... Any idea whats going on here?
Unfortunately yes, it's an issue with the ESPN API. It's loosely documented in the tests:
https://github.com/rbarton65/espnff/blob/master/tests/test_scoreboard.py