Created
November 21, 2012 16:34
-
-
Save chrisjason/4125878 to your computer and use it in GitHub Desktop.
ESPN Medals API Sample XML 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
| <?xml version="1.0"?> | |
| <response> | |
| <resultsOffset>0</resultsOffset> | |
| <resultsLimit>50</resultsLimit> | |
| <resultsCount>1</resultsCount> | |
| <season> | |
| <olympicSeasonId>31</olympicSeasonId> | |
| <year>2008</year> | |
| <type>2</type> | |
| <description>regular</description> | |
| <startDate>2008-08-06T07:00:00Z</startDate> | |
| <endDate>2008-08-25T06:59:59Z</endDate> | |
| </season> | |
| <sports> | |
| <sportsItem> | |
| <name>artistic gymnastics</name> | |
| <abbreviation>artistic-gymnastics</abbreviation> | |
| <olympicSportId>21</olympicSportId> | |
| </sportsItem> | |
| <sportsItem> | |
| <name>shooting</name> | |
| <abbreviation>shooting</abbreviation> | |
| <olympicSportId>37</olympicSportId> | |
| </sportsItem> | |
| <sportsItem> | |
| <name>taekwondo</name> | |
| <abbreviation>taekwondo</abbreviation> | |
| <olympicSportId>43</olympicSportId> | |
| </sportsItem> | |
| <sportsItem> | |
| <name>track and field</name> | |
| <abbreviation>track-and-field</abbreviation> | |
| <olympicSportId>3</olympicSportId> | |
| </sportsItem> | |
| </sports> | |
| <competitors> | |
| <competitorsItem> | |
| <type>country</type> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <medals> | |
| <gold> | |
| <total>0</total> | |
| <competitions/> | |
| </gold> | |
| <silver> | |
| <total>2</total> | |
| <competitions> | |
| <competitionsItem> | |
| <olympicSportId>21</olympicSportId> | |
| <name>Men's Pommel Horse</name> | |
| <eventId>166</eventId> | |
| <competitors> | |
| <competitorsItem> | |
| <type>athlete</type> | |
| <score>15.725</score> | |
| <worldRecord>false</worldRecord> | |
| <olympicRecord>false</olympicRecord> | |
| <athlete> | |
| <lastName>Ude</lastName> | |
| <firstName>Filip</firstName> | |
| <id>24299</id> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <links> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <athletes> | |
| <href>http://m.espn.go.com/extra/olympics/athletes?id=24299&ex_cid=espnapi_internal</href> | |
| </athletes> | |
| </mobile> | |
| </links> | |
| </athlete> | |
| </competitorsItem> | |
| </competitors> | |
| </competitionsItem> | |
| <competitionsItem> | |
| <olympicSportId>3</olympicSportId> | |
| <name>Women's High Jump</name> | |
| <eventId>140</eventId> | |
| <competitors> | |
| <competitorsItem> | |
| <type>athlete</type> | |
| <score>2.05</score> | |
| <worldRecord>false</worldRecord> | |
| <olympicRecord>false</olympicRecord> | |
| <athlete> | |
| <lastName>Vlasic</lastName> | |
| <firstName>Blanka</firstName> | |
| <id>10289</id> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <links> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <athletes> | |
| <href>http://m.espn.go.com/extra/olympics/athletes?id=10289&ex_cid=espnapi_internal</href> | |
| </athletes> | |
| </mobile> | |
| </links> | |
| </athlete> | |
| </competitorsItem> | |
| </competitors> | |
| </competitionsItem> | |
| </competitions> | |
| </silver> | |
| <bronze> | |
| <total>3</total> | |
| <competitions> | |
| <competitionsItem> | |
| <olympicSportId>37</olympicSportId> | |
| <name>Women's 10m Air Rifle</name> | |
| <eventId>737</eventId> | |
| <competitors> | |
| <competitorsItem> | |
| <type>athlete</type> | |
| <score>500.9</score> | |
| <worldRecord>false</worldRecord> | |
| <olympicRecord>false</olympicRecord> | |
| <athlete> | |
| <lastName>Pejcic</lastName> | |
| <firstName>Snjezana</firstName> | |
| <id>23689</id> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <links> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <athletes> | |
| <href>http://m.espn.go.com/extra/olympics/athletes?id=23689&ex_cid=espnapi_internal</href> | |
| </athletes> | |
| </mobile> | |
| </links> | |
| </athlete> | |
| </competitorsItem> | |
| </competitors> | |
| </competitionsItem> | |
| <competitionsItem> | |
| <olympicSportId>43</olympicSportId> | |
| <name>Women's Under 57kg</name> | |
| <eventId>91</eventId> | |
| <competitors> | |
| <competitorsItem> | |
| <type>athlete</type> | |
| <worldRecord>false</worldRecord> | |
| <olympicRecord>false</olympicRecord> | |
| <athlete> | |
| <lastName>Zubcic</lastName> | |
| <firstName>Martina</firstName> | |
| <id>22823</id> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <links> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <athletes> | |
| <href>http://m.espn.go.com/extra/olympics/athletes?id=22823&ex_cid=espnapi_internal</href> | |
| </athletes> | |
| </mobile> | |
| </links> | |
| </athlete> | |
| </competitorsItem> | |
| </competitors> | |
| </competitionsItem> | |
| <competitionsItem> | |
| <olympicSportId>43</olympicSportId> | |
| <name>Women's Under 67kg</name> | |
| <eventId>192</eventId> | |
| <competitors> | |
| <competitorsItem> | |
| <type>athlete</type> | |
| <worldRecord>false</worldRecord> | |
| <olympicRecord>false</olympicRecord> | |
| <athlete> | |
| <lastName>Saric</lastName> | |
| <firstName>Sandra</firstName> | |
| <id>23748</id> | |
| <country> | |
| <id>19</id> | |
| <abbreviation>cro</abbreviation> | |
| </country> | |
| <links> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <athletes> | |
| <href>http://m.espn.go.com/extra/olympics/athletes?id=23748&ex_cid=espnapi_internal</href> | |
| </athletes> | |
| </mobile> | |
| </links> | |
| </athlete> | |
| </competitorsItem> | |
| </competitors> | |
| </competitionsItem> | |
| </competitions> | |
| </bronze> | |
| <overall> | |
| <total>5</total> | |
| </overall> | |
| <links> | |
| <api> | |
| <medals> | |
| <href>http://api.espn.com/v1/sports/olympics/countries/cro/medals?season=summer&dates=2008</href> | |
| </medals> | |
| </api> | |
| <web> | |
| <index> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008?ex_cid=espnapi_internal</href> | |
| </index> | |
| <medals> | |
| <href>http://espn.go.com/olympics/summer/history/_/year/2008/type/medals?ex_cid=espnapi_internal</href> | |
| </medals> | |
| </web> | |
| <mobile> | |
| <index> | |
| <href>http://m.espn.go.com/extra/olympics?ex_cid=espnapi_internal</href> | |
| </index> | |
| <medals> | |
| <href>http://m.espn.go.com/extra/olympics/medals?countryId=19&ex_cid=espnapi_internal</href> | |
| </medals> | |
| </mobile> | |
| </links> | |
| </medals> | |
| </competitorsItem> | |
| </competitors> | |
| <timestamp>2012-11-21T16:32:54Z</timestamp> | |
| <status>success</status> | |
| </response> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment