Racemanager API

  • https://racemanager.no/api/page/{ID}
    Test API Instead of using an ID, you can make a call like this: competitions/nc1-2022
    compID
    raceID raceID (Team)
    laneID laneID (Team)
    clubID
  • API's can be consumed in many different ways. Here are just two examples.

    PHP

    $url = "https://racemanager.no/api/page{ID}?lang={lang}";
    $json = file_get_contents($url);
    $json_data = json_decode($json, true);
    print_r($json_data);                      

    JQuery

    $(document).ready(function () {
      var data
      $.ajax({
        dataType: 'json',
        url: "https://racemanager.no/api/page/{ID}?lang={lang}",
        data: data,
        success: function (data) {
          console.log(data);
        },
      })
    })                      
  • https://racemanager.no/api/page/{ID}
    compIDUsing a compID gives you the competition schedule
    raceIDGives you a specific heat
    laneIDGives you a specific lane
    clubIDClub info