game-on-paper-app icon indicating copy to clipboard operation
game-on-paper-app copied to clipboard

Scores display as NaN for in-progress games on team page

Open ecormany opened this issue 10 months ago • 1 comments

While a game is in progress, its scores display as NaN in the Schedule section of the teams' pages. The Stats button is also disabled on that card.

Screenshot 2023-09-09 at 1 31 30 PM

Expected behavior:

  • Correct scores displayed
  • Stats button is active and goes to game page

ecormany avatar Sep 09 '23 17:09 ecormany

Poked around this one a little bit -- looks like ESPN is no longer providing live scores from their team schedules endpoint (ex: https://site.api.espn.com/apis/site/v2/sports/football/college-football/teams/38/schedule?season=2023&seasontype=2). Will need to think a little bit about the best way to handle this.

akeaswaran avatar Sep 09 '23 18:09 akeaswaran