toddrob99 / MLB-StatsAPI

Python wrapper for MLB Stats API
GNU General Public License v3.0
513 stars 98 forks source link

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

Closed martinmccarthy closed 1 year ago

martinmccarthy commented 1 year ago

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)

toddrob99 commented 1 year ago

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

martinmccarthy commented 1 year ago

Ah good catch, apologies for that