Tools to extract live data

Poll specific parameters from */current API to show race data in real time. Handy tools to feed overlays for video production and web broadcasting.

  • The grabber is an HTML file and runs in a browser tab.

  • Adjust the grabber in an editor with the settings in the tables.

  • The grabber pulls one specific parameter from the */current API.

  • The */current API must be activated and switched on.

  • Monochrome background.

Basic grabber

Download the basic grabber for your usage. The file (grabCurrentAPI.html) is set to call a sample event with infinite real-time data.

Options 1 to 3: With set deviceIds or with set startNumbers or with set showLeaders the grabber shows the parameter for one or for more specific devices instead of the list with all devices.

Set imperial units

In order to show speed values as miles per hour replace line 50 with:

speed: { value: 2.2369356, unit: "mph", sorting: "DESC" },

In order to show speedRaw values as miles per hour replace line 51 with:

speedRaw: { value: 2.2369356, unit: "mph", sorting: "DESC" },

In order to show fromStart values as miles replace line 52 with:

fromStart: { value: 0.000621371, unit: "mile", sorting: "DESC" }

In order to show toFinish values as miles replace line 53 with:

toFinish: { value: 0.000621371, unit: "mile", sorting: "DESC" }

Drafting tool

Download the drafting tool for your usage. The file (grabCurrentAPIDrafting.html) is set to call a sample event with infinite real-time data.

  • The table sorts all devices in ascending order according to the toFinish parameter.

  • "To previous"-column shows the distance to the device that moves ahead.

  • "Draft time"-column starts counting the time when the device is moving within the draft zone (alertValue in [m] set distance to the device ahead).

  • "Drafts"-column detects a draft when drafting takes longer than the set alertTime in [s].

  • Hover over the number of drafts for additional information.

Spotter tool

Download the spotter tool for your usage. The file (spotter.html) is set to call a sample event with infinite real-time data.

  • Define up to three different spots (distance from start in m).

  • The table sorts participants in the sensitive range (rangeBeforeSpot and rangeAfterSpot) coming closer to the spot.

Last updated

Logo

Maps: ©Mapbox ©OpenStreetMap ©Racemap