new CareerStats(props)
props.hitterColumns options descriptions
option | description |
---|---|
gp | Mlb Trans Games Played |
gs | Games Started |
pa | Plate Appearances |
ab | at Bats |
r | Runs |
h | Hits |
2b | Doubles |
3b | Triples |
hr | Home Runs |
rbi | Runs Batted In |
bb | Walks |
k | Strikeouts |
sb | Stolen Bases |
cs | Caught Stealing |
ba | Batting Average |
obp | On Base % |
slg | Slugging % |
ops | On-base Plus Slugging |
iso | Isolated Power |
babip | Batting Average On Balls In Play |
bbk | Walk-to-strikeout Ratio |
gofo | Ground Out-Fly Out Ratio |
goao | Ground Ball-Air Out Ratio |
xbh | Extra-base Hits |
abhr | at Bats per Home Run |
props.pitcherColumns options descriptions
option | description |
---|---|
gp | Mlb Trans Games Played |
gs | Games Started |
w | Wins |
l | Losses |
era | Earned Run Average |
sv | Saves |
svo | Save Opportunities |
ip | Innings Pitched |
h | Hits Allowed |
r | Runs Allowed |
er | Earned Runs |
hra | Home Runs Allowed |
bb | Walks |
k | Strikeouts |
oba | Opponents' Batting Average |
whip | Walks and Hits per Inning Pitched |
k9 | Strikeouts per Nine Innings |
kbb | Strikeout-to-walk Ratio |
goao | Ground Ball-fly Ball Ratio |
qs | Quality Starts |
cg | Complete Games |
sho | Shutouts |
hld | Holds |
Parameters
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties
|
Examples
HTML/Declarative
<div class="sr-widget" data-sr-widget="us.player.mlb.careerStats" data-sr-player-id="842173"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/uscommon/widgetloader" data-sr-language="en_us" async></script>
JS/Programmatic
<script>
(function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
)})(window,document,"script","https://widgets.media.sportradar.com/uscommon/widgetloader","USW", {
language: 'en_us'
});
USW('addWidget', '#sr-widget', 'us.player.mlb.careerStats', {playerId: '842013'});
</script>
<div id="sr-widget"></div>