Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrisjason/4125846 to your computer and use it in GitHub Desktop.
Save chrisjason/4125846 to your computer and use it in GitHub Desktop.
ESPN Athletes API Sample JSON Output - Public Key
{
"sports":[
{
"name":"hockey",
"id":70,
"leagues":[
{
"name":"National Hockey League",
"abbreviation":"nhl",
"id":90,
"groupId":9,
"shortName":"NHL",
"athletes":[
{
"id":3114,
"firstName":"Sidney",
"lastName":"Crosby",
"fullName":"Sidney Crosby",
"displayName":"Sidney Crosby",
"shortName":"S. Crosby",
"links":{
"api":{
"athletes":{
"href":"http://api.espn.com/v1/sports/hockey/nhl/athletes/3114"
},
"news":{
"href":"http://api.espn.com/v1/sports/hockey/nhl/athletes/3114/news"
},
"notes":{
"href":"http://api.espn.com/v1/sports/hockey/nhl/athletes/3114/news/notes"
}
},
"web":{
"athletes":{
"href":"http://espn.go.com/nhl/player/_/id/3114/sidney-crosby?ex_cid=espnapi_public"
}
},
"mobile":{
"athletes":{
"href":"http://m.espn.go.com/nhl/playercard?playerId=3114&ex_cid=espnapi_public"
}
}
}
}
]
}
]
}
],
"resultsOffset":0,
"resultsLimit":50,
"resultsCount":1,
"timestamp":"2012-11-21T16:25:36Z",
"status":"success"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment