Skip to content

Instantly share code, notes, and snippets.

@cmosguy
Created July 23, 2014 20:44
Show Gist options
  • Save cmosguy/ae4455dc3e1c49860589 to your computer and use it in GitHub Desktop.
Save cmosguy/ae4455dc3e1c49860589 to your computer and use it in GitHub Desktop.
custom game json response
{
"games": [
{
"id": "1",
"game": "Green Bay Packers vs. Seattle Seahawks ",
"season": "2014-15",
"home": 28,
"away": 13,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "NBC",
"game_datetime_utc": "2014-09-05 00:30:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "2",
"game": "New Orleans Saints vs. Atlanta Falcons ",
"season": "2014-15",
"home": 3,
"away": 21,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "FOX",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "3",
"game": "Buffalo Bills vs. Chicago Bears ",
"season": "2014-15",
"home": 7,
"away": 5,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "FOX",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "4",
"game": "Tennessee Titans vs. Kansas City Chiefs ",
"season": "2014-15",
"home": 17,
"away": 32,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "5",
"game": "Minnesota Vikings vs. St. Louis Rams ",
"season": "2014-15",
"home": 30,
"away": 19,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "FOX",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "6",
"game": "New England Patriots vs. Miami Dolphins ",
"season": "2014-15",
"home": 18,
"away": 20,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "7",
"game": "Oakland Raiders vs. New York Jets ",
"season": "2014-15",
"home": 23,
"away": 24,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "8",
"game": "Jacksonville Jaguars vs. Philadelphia Eagles ",
"season": "2014-15",
"home": 25,
"away": 16,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "9",
"game": "Cleveland Browns vs. Pittsburgh Steelers ",
"season": "2014-15",
"home": 26,
"away": 9,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
},
{
"id": "10",
"game": "Cincinnati Bengals vs. Baltimore Ravens ",
"season": "2014-15",
"home": 4,
"away": 8,
"away_score": 0,
"home_score": 0,
"week": 0,
"tv": "CBS",
"game_datetime_utc": "2014-09-07 17:00:00",
"game_type": "regular",
"game_status": "not started",
"gameclock": "",
"linescores": []
}
],
"linked": {
"linescores": [
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]
],
"home": [
{
"id": "28",
"abbreviation": "SEA",
"conference": "NFC",
"division": "West",
"city": "",
"state": "",
"name": "Seattle Seahawks "
},
{
"id": "3",
"abbreviation": "ATL",
"conference": "NFC",
"division": "South",
"city": "",
"state": "",
"name": "Atlanta Falcons "
},
{
"id": "7",
"abbreviation": "CHI",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Chicago Bears "
},
{
"id": "17",
"abbreviation": "KC",
"conference": "AFC",
"division": "West",
"city": "",
"state": "",
"name": "Kansas City Chiefs "
},
{
"id": "30",
"abbreviation": "STL",
"conference": "NFC",
"division": "West",
"city": "",
"state": "",
"name": "St. Louis Rams "
},
{
"id": "18",
"abbreviation": "MIA",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "Miami Dolphins "
},
{
"id": "23",
"abbreviation": "NYJ",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "New York Jets "
},
{
"id": "25",
"abbreviation": "PHI",
"conference": "NFC",
"division": "East",
"city": "",
"state": "",
"name": "Philadelphia Eagles "
},
{
"id": "26",
"abbreviation": "PIT",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Pittsburgh Steelers "
},
{
"id": "4",
"abbreviation": "BAL",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Baltimore Ravens "
}
],
"away": [
{
"id": "13",
"abbreviation": "GB",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Green Bay Packers "
},
{
"id": "21",
"abbreviation": "NO",
"conference": "NFC",
"division": "South",
"city": "",
"state": "",
"name": "New Orleans Saints "
},
{
"id": "5",
"abbreviation": "BUF",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "Buffalo Bills "
},
{
"id": "32",
"abbreviation": "TEN",
"conference": "AFC",
"division": "South",
"city": "",
"state": "",
"name": "Tennessee Titans "
},
{
"id": "19",
"abbreviation": "MIN",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Minnesota Vikings "
},
{
"id": "20",
"abbreviation": "NE",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "New England Patriots "
},
{
"id": "24",
"abbreviation": "OAK",
"conference": "AFC",
"division": "West",
"city": "",
"state": "",
"name": "Oakland Raiders "
},
{
"id": "16",
"abbreviation": "JAC",
"conference": "AFC",
"division": "South",
"city": "",
"state": "",
"name": "Jacksonville Jaguars "
},
{
"id": "9",
"abbreviation": "CLE",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Cleveland Browns "
},
{
"id": "8",
"abbreviation": "CIN",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Cincinnati Bengals "
}
],
"teams": [
{
"id": "13",
"abbreviation": "GB",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Green Bay Packers "
},
{
"id": "28",
"abbreviation": "SEA",
"conference": "NFC",
"division": "West",
"city": "",
"state": "",
"name": "Seattle Seahawks "
},
{
"id": "21",
"abbreviation": "NO",
"conference": "NFC",
"division": "South",
"city": "",
"state": "",
"name": "New Orleans Saints "
},
{
"id": "3",
"abbreviation": "ATL",
"conference": "NFC",
"division": "South",
"city": "",
"state": "",
"name": "Atlanta Falcons "
},
{
"id": "5",
"abbreviation": "BUF",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "Buffalo Bills "
},
{
"id": "7",
"abbreviation": "CHI",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Chicago Bears "
},
{
"id": "32",
"abbreviation": "TEN",
"conference": "AFC",
"division": "South",
"city": "",
"state": "",
"name": "Tennessee Titans "
},
{
"id": "17",
"abbreviation": "KC",
"conference": "AFC",
"division": "West",
"city": "",
"state": "",
"name": "Kansas City Chiefs "
},
{
"id": "19",
"abbreviation": "MIN",
"conference": "NFC",
"division": "North",
"city": "",
"state": "",
"name": "Minnesota Vikings "
},
{
"id": "30",
"abbreviation": "STL",
"conference": "NFC",
"division": "West",
"city": "",
"state": "",
"name": "St. Louis Rams "
},
{
"id": "20",
"abbreviation": "NE",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "New England Patriots "
},
{
"id": "18",
"abbreviation": "MIA",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "Miami Dolphins "
},
{
"id": "24",
"abbreviation": "OAK",
"conference": "AFC",
"division": "West",
"city": "",
"state": "",
"name": "Oakland Raiders "
},
{
"id": "23",
"abbreviation": "NYJ",
"conference": "AFC",
"division": "East",
"city": "",
"state": "",
"name": "New York Jets "
},
{
"id": "16",
"abbreviation": "JAC",
"conference": "AFC",
"division": "South",
"city": "",
"state": "",
"name": "Jacksonville Jaguars "
},
{
"id": "25",
"abbreviation": "PHI",
"conference": "NFC",
"division": "East",
"city": "",
"state": "",
"name": "Philadelphia Eagles "
},
{
"id": "9",
"abbreviation": "CLE",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Cleveland Browns "
},
{
"id": "26",
"abbreviation": "PIT",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Pittsburgh Steelers "
},
{
"id": "8",
"abbreviation": "CIN",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Cincinnati Bengals "
},
{
"id": "4",
"abbreviation": "BAL",
"conference": "AFC",
"division": "North",
"city": "",
"state": "",
"name": "Baltimore Ravens "
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment