Created
November 21, 2012 16:52
-
-
Save chrisjason/4126003 to your computer and use it in GitHub Desktop.
ESPN Scores API Sample JSON Output - Internal Key
This file contains hidden or 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
{ | |
"sports":[ | |
{ | |
"name":"basketball", | |
"id":40, | |
"leagues":[ | |
{ | |
"name":"NCAA Basketball", | |
"abbreviation":"mens-college-basketball", | |
"id":41, | |
"groupId":52, | |
"shortName":"NCAA Basketball", | |
"events":[ | |
{ | |
"id":320590008, | |
"date":"2012-02-29T00:00:00Z", | |
"season":{ | |
"year":2012, | |
"type":2, | |
"description":"regular", | |
"startDate":"2011-11-07T08:00:00Z", | |
"endDate":"2012-03-12T06:59:59Z" | |
}, | |
"timeValid":true, | |
"competitions":[ | |
{ | |
"id":320590008, | |
"date":"2012-02-29T00:00:00Z", | |
"stats":{ | |
"attendance":12378 | |
}, | |
"competitors":[ | |
{ | |
"type":"team", | |
"score":75, | |
"homeAway":"home", | |
"isWinner":false, | |
"team":{ | |
"id":8, | |
"homeAway":"home", | |
"location":"Arkansas", | |
"name":"Razorbacks", | |
"nickname":"Arkansas", | |
"abbreviation":"ARK", | |
"color":"9c1831", | |
"links":{ | |
"api":{ | |
"teams":{ | |
"href":"http://api.espn.com/v1/sports/basketball/mens-college-basketball/teams/8" | |
} | |
} | |
}, | |
"record":{ | |
"summary":"18-14", | |
"wins":18, | |
"losses":14, | |
"overtimeLosses":0, | |
"ties":0 | |
} | |
}, | |
"linescores":[ | |
{ | |
"period":1, | |
"score":35 | |
}, | |
{ | |
"period":2, | |
"score":40 | |
} | |
] | |
}, | |
{ | |
"type":"team", | |
"score":77, | |
"homeAway":"away", | |
"isWinner":true, | |
"team":{ | |
"id":145, | |
"homeAway":"away", | |
"location":"Ole Miss", | |
"name":"Rebels", | |
"nickname":"Ole Miss", | |
"abbreviation":"MISS", | |
"color":"001148", | |
"links":{ | |
"api":{ | |
"teams":{ | |
"href":"http://api.espn.com/v1/sports/basketball/mens-college-basketball/teams/145" | |
} | |
} | |
}, | |
"record":{ | |
"summary":"20-13", | |
"wins":20, | |
"losses":13, | |
"overtimeLosses":2, | |
"ties":0 | |
} | |
}, | |
"linescores":[ | |
{ | |
"period":1, | |
"score":26 | |
}, | |
{ | |
"period":2, | |
"score":51 | |
} | |
] | |
} | |
], | |
"details":[ | |
{ | |
"id":3205900080360, | |
"clock":"0:00", | |
"datestamp":"2012-02-29T02:10:14Z", | |
"playType":{ | |
"id":402, | |
"description":"End Game" | |
}, | |
"period":2, | |
"playText":"End Game", | |
"shortPlayText":"End Game", | |
"sequenceNumber":360, | |
"homeScore":75, | |
"awayScore":77, | |
"scoreValue":0, | |
"athletesInvolved":[ | |
], | |
"teamId":0, | |
"xCoordinate":0, | |
"yCoordinate":0 | |
} | |
], | |
"status":{ | |
"id":3, | |
"description":"FINAL", | |
"detail":"FINAL" | |
}, | |
"period":2, | |
"clock":"0:00", | |
"type":"Regular Season" | |
} | |
], | |
"links":{ | |
"api":{ | |
"events":{ | |
"href":"http://api.espn.com/v1/sports/basketball/mens-college-basketball/events/320590008" | |
}, | |
"news":{ | |
"href":"http://api.espn.com/v1/sports/basketball/mens-college-basketball/events/320590008/news" | |
}, | |
"notes":{ | |
"href":"http://api.espn.com/v1/sports/basketball/mens-college-basketball/events/320590008/news/notes" | |
} | |
}, | |
"web":{ | |
"preview":{ | |
"href":"http://espn.go.com/ncb/preview?gameId=320590008&ex_cid=espnapi_internal" | |
}, | |
"recap":{ | |
"href":"http://espn.go.com/ncb/recap?gameId=320590008&ex_cid=espnapi_internal" | |
}, | |
"boxscore":{ | |
"href":"http://espn.go.com/ncb/boxscore?gameId=320590008&ex_cid=espnapi_internal" | |
}, | |
"liveUpdate":{ | |
"href":"http://espn.go.com/ncb/gamecast?gameId=320590008&ex_cid=espnapi_internal" | |
} | |
}, | |
"mobile":{ | |
"preview":{ | |
"href":"http://m.espn.go.com/ncb/gamecast?gameId=320590008&action=preview&ex_cid=espnapi_internal" | |
}, | |
"recap":{ | |
"href":"http://m.espn.go.com/ncb/gamecast?gameId=320590008&action=recap&ex_cid=espnapi_internal" | |
}, | |
"boxscore":{ | |
"href":"http://m.espn.go.com/ncb/gamecast?gameId=320590008&action=stats&ex_cid=espnapi_internal" | |
}, | |
"liveUpdate":{ | |
"href":"http://m.espn.go.com/ncb/gamecast?gameId=320590008&action=summary&ex_cid=espnapi_internal" | |
} | |
} | |
}, | |
"venues":[ | |
{ | |
"id":12, | |
"name":"Bud Walton Arena", | |
"city":"Fayetteville", | |
"state":"AR", | |
"country":"" | |
} | |
], | |
"type":"Regular Season", | |
"eventSourceId":3, | |
"eventSource":"pbp", | |
"statSourceId":20, | |
"statSource":"postgame" | |
} | |
] | |
} | |
] | |
} | |
], | |
"timestamp":"2012-11-21T16:52:00Z", | |
"status":"success" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment