-
Notifications
You must be signed in to change notification settings - Fork 11
Data Types: Season
KCNilssen edited this page Dec 16, 2022
·
4 revisions
To be added
Attributes are expandable and collapsable - Link to Season dataclass
seasonid : str
- season id
haswildcard : bool
- wild card status
preseasonstartdate : str
- pre-season start date
preseasonenddate : str
- pre-season end date
seasonstartdate : str
- season start date
springstartdate : str
- spring start date
springenddate : str
- spring end date
regularseasonstartdate : str
- regular season start date
lastdate1sthalf : str
- last date 1st half
allstardate : str
- all star date
firstdate2ndhalf : str
- first date 2nd half
regularseasonenddate : str
- regular season end date
postseasonstartdate : str
- post season start date
postseasonenddate : str
- post season end date
seasonenddate : str
- season end date
offseasonstartdate : str
- off season start date
offseasonenddate : str
- off season end date
seasonlevelgamedaytype : str
- season level game day type
gamelevelgamedaytype : str
- game level game day type
qualifierplateappearances : float
- qualifier plate appearances
qualifieroutspitched : int
- qualifier outs pitched
https://statsapi.mlb.com/api/v1/seasons?sportId=1
import mlbstatsapi
mlb = mlbstatsapi.Mlb()
mlb.get_seasons()
Note: This information is provided for reference only, without warranty or guarantee, and is not official documentation provided by MLB. This package and its author are not affiliated with MLB or any MLB team. This API wrapper interfaces with MLB's Stats API. Use of MLB data is subject to the notice posted at http://gdx.mlb.com/components/copyright.txt.