toddrob99 / MLB-StatsAPI

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

The divisions endpoint allows 'season' as an optional endpoint. #141

Open BranchRickey opened 2 months ago

BranchRickey commented 2 months ago

Minor issue, but the divisions endpoint does allow 'season' as a valid optional parameter. The following URL produces the divisions for the 1984 season:

http://statsapi.mlb.com/api/v1/divisions?season=1984

This is useful if you are building a database with historical information.