Skip to content

Instantly share code, notes, and snippets.

@chrisjason
Created November 21, 2012 16:23
Show Gist options
  • Save chrisjason/4125809 to your computer and use it in GitHub Desktop.
Save chrisjason/4125809 to your computer and use it in GitHub Desktop.
ESPN Athletes API Sample XML Output - Public Key
<?xml version="1.0"?>
<response>
<sports>
<sportsItem>
<name>hockey</name>
<id>70</id>
<leagues>
<leaguesItem>
<name>National Hockey League</name>
<abbreviation>nhl</abbreviation>
<id>90</id>
<groupId>9</groupId>
<shortName>NHL</shortName>
<athletes>
<athletesItem>
<id>3114</id>
<firstName>Sidney</firstName>
<lastName>Crosby</lastName>
<fullName>Sidney Crosby</fullName>
<displayName>Sidney Crosby</displayName>
<shortName>S. Crosby</shortName>
<links>
<api>
<athletes>
<href>http://api.espn.com/v1/sports/hockey/nhl/athletes/3114</href>
</athletes>
<news>
<href>http://api.espn.com/v1/sports/hockey/nhl/athletes/3114/news</href>
</news>
<notes>
<href>http://api.espn.com/v1/sports/hockey/nhl/athletes/3114/news/notes</href>
</notes>
</api>
<web>
<athletes>
<href>http://espn.go.com/nhl/player/_/id/3114/sidney-crosby?ex_cid=espnapi_public</href>
</athletes>
</web>
<mobile>
<athletes>
<href>http://m.espn.go.com/nhl/playercard?playerId=3114&amp;ex_cid=espnapi_public</href>
</athletes>
</mobile>
</links>
</athletesItem>
</athletes>
</leaguesItem>
</leagues>
</sportsItem>
</sports>
<resultsOffset>0</resultsOffset>
<resultsLimit>50</resultsLimit>
<resultsCount>1</resultsCount>
<timestamp>2012-11-21T16:22:30Z</timestamp>
<status>success</status>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment