https://racemap.com/api/data/v1/:eventId/current
Method GETdeviceId
of a chosen reference device for calculation gapAverage
deviceId
then gapAverage
is null
.liveDelay
)speed
value in the API.currentSpeedDuration
averages the speed
values from the latest 100 seconds) true
or false
liveDelay
name
"100km Duathlon"
location
"Dresden"
startTime
"2022-01-24T15:00:10.000Z"
endTime
"2022-01-24T22:59:45.000Z"
starters
id
"61a2122f181c0a0ff7b53765"
importId
"UniqueImportId_1"
startNumber
"001"
name
"CLV Megware"
current
current
-object provides the latest data time
interpolation=true
then linear interpolation between the latest two points"2022-01-24T16:33:47.012Z"
lng
13.727678288
lat
50.976534023
elv
85.2
fromStart
*9962.6826
toFinish
*89097.3173
eta
*speed
16897.77
speed
currentSpeedDuration
. If event has a shadowtrack, than projection on shadowtrack.5.2727
distanceToShadowTrack
*175.9
or null
gapAverage
*fromStart
value of reference deviceId
, prediction with reference average speed for current segment between device and reference device.
Devices in front of reference: If fromStart
of a device is greater than fromStart
of the reference device then null
. 2360.36
or null
gap
*fromStart
value of the leader, prediction with speed
value of leader, if speed < 1 km/h
then prediction with default speed value of the event, leader: device with smallest toFinish
value
attention: Each time a leader reaches the finish the device closest to finish becomes the new leader. The speed value of the next leader may impact fluctuating gap values.1205.68
fromStart
(participant 1) - fromStart
(participant 2)gapAverage
(participant 2) - gapAverage
(participant 1) => value with flatten peakseta
(participant 2) - eta
(participant 1)gap
(participant 2) - gap
(participant 1) toFinish