FOOTBALL STATBROADCAST DUPLICATE CODE FINDER
by Ian Hazzard
HTML
<h1>Statcrew Duplicate Numbers</h1>
<h2>Away Team</h2>
<div id="awayOutput"></div>
<br/>
<h2>Home Team</h2>
<div id="homeOutput"></div>
JavaScript
var fbgame = {
"venue": {
"officials": {
"_ref": "Riley Johnson",
"_ump": "Mark Wilson",
"_line": "John Hoffmann",
"_lj": "Deon Lawrence",
"_bj": "Michael Griffith",
"_fj": "Conor Clougherty",
"_sj": "Richard Wilborn",
"_cj": "Joshua Fath",
"_replay": "Rusty Acree"
},
"rules": {
"_qtrs": "4",
"_mins": "15",
"_downs": "4",
"_yds": "10",
"_kospot": "35",
"_tbspot": "20",
"_kotbspot": "25",
"_patspot": "3",
"_safspot": "20",
"_td": "6",
"_fg": "3",
"_pat": "1",
"_patx": "2",
"_saf": "2",
"_defpat": "1",
"_rouge": "0",
"_field": "100",
"_toh": "3",
"_sackrush": "Y",
"_fgaplay": "N",
"_netpunttb": "Y"
},
"_gameid": "2278347",
"_visid": "GWU",
"_viscode": "211",
"_homeid": "LIB",
"_homecode": "309",
"_visname": "Gardner-Webb",
"_homename": "Liberty",
"_date": "10/15/2022",
"_location": "Lynchburg, Virginia",
"_stadium": "Williams Stadium",
"_start": "",
"_end": "",
"_leaguegame": "N",
"_neutral": "N",
"_duration": "",
"_attend": "0",
"_temp": "76",
"_wind": "11 southWest",
"_weather": "sunny"
},
"team": [
{
"linescore": {
"lineprd": {
"_prd": "1",
"_score": "0"
},
"_prds": "1",
"_line": "0",
"_score": "0"
},
"totals": {
"firstdowns": {
"_no": "0",
"_rush": "0",
"_pass": "0",
"_penalty": "0"
},
"penalties": {
"_no": "0",
"_yds": "0",
"_sb-declined": "0"
},
"conversions": {
...