MLB-StatsAPI
MLB-StatsAPI copied to clipboard
The divisions endpoint allows 'season' as an optional endpoint.
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.
I will add the season param to the divisions endpoint, and in the meantime you can use the force param to make the wrapper include it in your get calls.