espnff icon indicating copy to clipboard operation
espnff copied to clipboard

issue with scoreboard

Open AndrewMcBrayer opened this issue 6 years ago • 1 comments

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?

AndrewMcBrayer avatar Dec 09 '18 01:12 AndrewMcBrayer

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

HeyParkerJ avatar Dec 09 '18 19:12 HeyParkerJ