Odds Comparison
us.betting.season.nfl.oddsComparison is a compiled table of bookmaker odds. It displays pre-game and live odds based on the game's status and odds type.
Parameters
Name | Type | Argument | Default | Description |
matchStatus |
string | optional | 'pre' | Match Status Filter. You can choose between pre or live . |
oddsType |
string | optional | 'spread' | Odds type filter. Choose between: spread , moneyLine , or overunder . |
bookmakers |
string | optional | Comma separated string for selected bookmakers. Options are: draftkings , fanduel , mgm , williamhillnewjersey , caesarsnewjersey , caesarspennsylvania , sugarhousenj , bet365newjersey , and pointsbet . |
|
selectedDate |
string | optional | Selects particular NFL week which contains selectedDate. Format: YYYY-MM-DD . |
|
onItemClick |
function | optional | Function/event handler. Emits matchId and other props on table row click or touch. |
|
border |
boolean | optional | If true draws a border around the widget. |
|
enableLimit |
boolean | optional | 'true' | If true enables a 5 game limit on the table. If more games are available, a "more" button appears and after clicking it, 5 more games can be seen. |
disableOddsColor |
boolean | optional | If true disables odds colors on live games. |
|
disableOddsHighlighting |
boolean | optional | If true disables highlighting for odds changes. |
|
disableHeader |
boolean | optional | If true disables the season info header. |
|
enableDeeplink |
boolean | If true bookmaker column headings become clickable, opening the corresponding bookmaker's website in a new browser tab. |
Examples
<div class="sr-widget" data-sr-widget="us.betting.season.nfl.oddsComparison"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>
</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/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
language: 'en_us'
});
SIR('addWidget', '#sr-widget', 'us.betting.season.nfl.oddsComparison', {});
</script>
<div id="sr-widget"></div>
</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/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
language: 'en_us'
});
SIR('addWidget', '#sr-widget', 'us.betting.season.nfl.oddsComparison', {onItemClick: function(type, obj){alert(JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago