code: def standings(self, league_table, league):
          
          data = []
          for team in league_table['standings'][0]['table']:
              item = {'position': team['position'],
                      'teamName': team['team'],
                      'playedGames': team['playedGames'],
                      'goalsFor': team['goalsFor'],
                      'goalsAgainst': team['goalsAgainst'],
                      'goalDifference': team['goalDifference'],
                      'points': team['points']}
              data.append(item)
          self.generate_output({'standings': data})
docs: Store output of league standings to a JSON file