API - Distance Results

Retrieve a skater's results for a distance.

URL

Type URL
XML http://speedskatingresults.com/api/xml/skater_results.php
JSON http://speedskatingresults.com/api/json/skater_results.php

Parameters

Name Description
skater

Skater ID (required)

A skater's ID can be found using the search table below. The skater ID can also be found as the s parameter on the URL for a skater's page. For example:

http://speedskatingresults.com/index.php?p=17&s=203

distance

Distance (required)

The distance for which to retrieve results (e.g. 500)

season Season start year (optional). For example, to retrieve results from only the 2017-2018 season, specify the value 2017.

Skater IDs

XML

Element Description
results

The collection of results

Attributes

  • skater - skater ID
  • distance - race distance
  • season - season start year (if single season requested)
resultA race result
timeFinishing time
dateRace date (YYYY-MM-DD)
locationRace location
nameCompetition name
linkURL for race results on SpeedskatingResults.com

Example

API Query: http://speedskatingresults.com/api/xml/skater_results.php?skater=1598&distance=1000&season=2018

<?xml version="1.0" encoding="utf-8" ?>
<results skater="1598" distance="1000" season="2018">
  <result>
    <time>1.14,32</time>
    <date>2018-12-16</date>
    <location>Heerenveen (NED)</location>
    <name>ISU World Cup</name>
    <link>http://speedskatingresults.com/index.php?p=3&e=20389&r=13&s=1598</link>
  </result>
  <result>
    <time>1.14,84</time>
    <date>2018-11-18</date>
    <location>Obihiro (JPN)</location>
    <name>ISU World Cup</name>
    <link>http://speedskatingresults.com/index.php?p=3&e=20119&r=18&s=1598</link>
  </result>
  <result>
    <time>1.15,10</time>
    <date>2018-10-27</date>
    <location>Nagano (JPN)</location>
    <name>Japan - Single Distances Championships 2019</name>
    <link>http://speedskatingresults.com/index.php?p=3&e=20014&r=3&s=1598</link>
  </result>
  <result>
    <time>1.17,31</time>
    <date>2018-11-25</date>
    <location>Tomakomai (JPN)</location>
    <name>ISU World Cup</name>
    <link>http://speedskatingresults.com/index.php?p=3&e=20177&r=17&s=1598</link>
  </result>
</results>

JSON

Key Description
skater Skater ID
distance Race distance
season Season start year (if single season requested)
results The collection of results
timeFinishing time
dateRace date (YYYY-MM-DD)
locationRace location
linkURL for race results on SpeedskatingResults.com

Example

API Query: http://speedskatingresults.com/api/json/skater_results.php?skater=1598&distance=1000&season=2018

{
  "skater":1598, "distance":1000, "season":2018,
  "results":[
    {"time":"1.14,32", "date":"2018-12-16", "location":"Heerenveen (NED)", "name":"ISU World Cup",
     "link":"http://speedskatingresults.com/index.php?p=3&e=20389&r=13&s=1598"},
    {"time":"1.14,84", "date":"2018-11-18", "location":"Obihiro (JPN)", "name":"ISU World Cup",
     "link":"http://speedskatingresults.com/index.php?p=3&e=20119&r=18&s=1598"},
    {"time":"1.15,10", "date":"2018-10-27", "location":"Nagano (JPN)", "name":"Japan - Single Distances Championships 2019",
     "link":"http://speedskatingresults.com/index.php?p=3&e=20014&r=3&s=1598"},
    {"time":"1.17,31", "date":"2018-11-25", "location":"Tomakomai (JPN)", "name":"ISU World Cup",
     "link":"http://speedskatingresults.com/index.php?p=3&e=20177&r=17&s=1598"}
  ]
}