toddrob99/MLB-StatsAPI

TypeError: Teamrecords.__init__() got an unexpected keyword argument 'eliminationnumbersport'

martinmccarthy opened this issue · 2 comments

Looks like the MLB API was updated, this was the call I was doing:
current_al_standings = mlb.get_standings(league_id = 103, season = 2023)

Are you importing statsapi or mlbstatsapi? They are two different packages. This repository is for statsapi.

Ah good catch, apologies for that