Created
April 18, 2021 18:52
-
-
Save leovolving/46b918d356e519908fe071c77bd62b1d to your computer and use it in GitHub Desktop.
MLB Live Game Data Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
liveData: { | |
boxscore: { | |
teams: { | |
[home | away]: { | |
teamStats: { | |
pitching: { | |
strikeouts: Number | |
} | |
} | |
} | |
} | |
}, | |
linescore: { | |
currentInning: Number, | |
currentInningOrdinal: String, | |
inningState: String, | |
outs, | |
teams: { | |
[home | away]: { | |
runs: Number | |
} | |
} | |
}, | |
plays: [{ | |
about: { | |
isTopInning: Boolean | |
}, | |
matchup: { | |
batter: { | |
id: Number, | |
name: String | |
} | |
}, | |
result: { | |
eventType: 'home_run' | 'strikeout' | |
} | |
}] | |
}, | |
gameData: { | |
datetime: { | |
dateTime: timestamp | |
}, | |
status: { | |
abstractGameCode: 'L' | 'F' | |
}, | |
teams: { | |
[home | away]: { | |
id: Number, | |
name: String | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment