Skip to content

Instantly share code, notes, and snippets.

@chrisjason
Last active August 29, 2015 14:01
Show Gist options
  • Save chrisjason/1b3f4b79e1004ff8d718 to your computer and use it in GitHub Desktop.
Save chrisjason/1b3f4b79e1004ff8d718 to your computer and use it in GitHub Desktop.
ESPN Leaders API Sample JSON Output - Internal Key
{
"sports": [
{
"name": "basketball",
"id": 40,
"leagues": [
{
"name": "National Basketball Assoc.",
"abbreviation": "nba",
"id": 46,
"uid": "s:40~l:46",
"groupId": 7,
"shortName": "NBA",
"statistics": [
{
"season": {
"year": 2014,
"type": 3,
"description": "post",
"startDate": "2014-04-19T07:00:00Z",
"endDate": "2014-07-01T06:59:59Z"
},
"statCategories": [
{
"name": "generalStatistics",
"description": "General Statistics",
"stats": [
{
"name": "pointsPerGame",
"description": "Points Per Game",
"abbreviation": "PPG",
"leaders": [
{
"type": "athlete",
"value": 31.1,
"displayValue": "31.1",
"athlete": {
"id": 3202,
"firstName": "Kevin",
"lastName": "Durant",
"fullName": "Kevin Durant",
"displayName": "Kevin Durant",
"shortName": "K. Durant",
"team": {
"id": 25,
"location": "Oklahoma City",
"name": "Thunder",
"abbreviation": "OKC",
"color": "C67C03"
}
}
},
{
"type": "athlete",
"value": 29.5,
"displayValue": "29.5",
"athlete": {
"id": 1966,
"firstName": "LeBron",
"lastName": "James",
"fullName": "LeBron James",
"displayName": "LeBron James",
"shortName": "L. James",
"team": {
"id": 14,
"location": "Miami",
"name": "Heat",
"abbreviation": "MIA",
"color": "000000"
}
}
},
...
{
...
}
]
}
]
}
]
}
]
}
],
"resultsOffset": 0,
"resultsLimit": 0,
"resultsCount": 0,
"timestamp": "2014-05-20T17:09:53Z",
"status": "success"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment