Skip to content

Instantly share code, notes, and snippets.

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