diff --git a/espn_api/football/league.py b/espn_api/football/league.py index 9a80a059..59fdf669 100644 --- a/espn_api/football/league.py +++ b/espn_api/football/league.py @@ -182,7 +182,11 @@ def scoreboard(self, week: int = None) -> List[Matchup]: params = { 'view': 'mMatchupScore', } - data = self.espn_request.league_get(params=params) + if self.year == 2018: + data = self.espn_request.league_get(params=params)[0] + else: + data = self.espn_request.league_get(params=params) + schedule = data['schedule'] matchups = [Matchup(matchup) for matchup in schedule if matchup['matchupPeriodId'] == week]