*/times, reads and raw data

API with passings or detections (raw data timestamps) at virtual checkpoints respectively geofences, similar to a reader

The */times API generates a detection from a received location if it fulfills three conditions. The API can provide multiple detections for a split.

  • The device id belongs to the event.

  • The location is around the detection radius of a geofence.

  • The timestamp of the location is between the event start- and end time.

  • Effortless detections with virtual timekeeping points (geofence) and with geolocations of participants. No timing hardware, no transponders.

  • Passings are recorded in a radius around the geofence. Set the radius in the setting of the data API of your event.

  • Flexibly adjust settings in between: add timekeeping points or change their locations of a running event or even of a past event, recalculate detections with new parameters.

Request

URL https://racemap.com/api/data/v1/:eventId/times Method GET

Live sample https://racemap.com/api/data/v1/61a21210e5d45d000199f7d9/times Past sample https://racemap.com/api/data/v1/60a3b443f096f800018add7c/times

Optional query with id of a checkpoint

Response

Event object

Field
Description [unit]
Sample

name

Name of event

"Sample live | 100km Duathlon"

location

Location

"🇩🇪 Dresden"

startTime

Start time in UTC

"2022-03-09T07:00:03.201Z"

endTime

End time in UTC

"2022-03-09T14:59:38.201Z"

timekeepings

Array for checkpoint objects

starters

Array for participant objects

Checkpoint object

Field
Description
Sample

name

Name of virtual timekeeping point

"Split 5"

offset

Distance [m] along the shadowtrack

49222.81

id

Unique Racemap ID of timekeeping point

"6450e60747adaed475b48"

position

Array with longitude, latitude, hight [m]

13.881129999, 51.075250000, 250

Participant object

Field
Description [unit]
Sample

id

Unique Racemap ID of participant

"61a2122f181c0a6c4bb5376e"

importId

User-defined ID with imported participant data, Generic API (importId) or RACE|RESULT API (Id)

"UniqueImportId_2" or "null" if no importId exists

startNumber

Bib number

"2"

name

Name

"CLV Megware"

times

Object for checkpoint arrays

null if no locations within startTime and endTime {} if there are locations but no detections

Checkpoint array

Description
Sample

Unique Racemap ID of timekeeping point, array for detection objects

6450e60747adaed475b484b4

Detection object

Field
Description [unit]
Sample

time

Timestamp of detection in UTC

"2022-03-09T10:08:00.000Z"

distanceToSplit

Distance [m] of detection from timekeeping point

43.96

Sample response

Sample response with id of checkpoint

Checkpoint "Bergwertung" https://racemap.com/api/data/v1/60a3b443f096f800018add7c/times/6451387410e583b28d7167e6

Times array with detection objects

Field
Description [unit]
Sample

id

Unique Racemap ID of participant

"6450e60747adaed475b48"

importId

User-defined ID with imported participant data, Generic API (importId) or RACE|RESULT API (Id)

"UniqueImportId_2"

startNumber

Bib number

"02"

name

Name

"Jörg"

time

Timestamp of detection in UTC

"2022-03-09T10:08:00.000Z"

distanceToSplit

Distance [m] of detection from timekeeping point

16.19

Export to RACE|RESULT

RACE|RESULT event settings: Main Window, Simple API

  • Type: Custom

  • Details: rawdata/addmanual

Settings create an API key to push external data to RACE|RESULT. The duration of the key is limited. Sample: https://api.raceresult.com/180472/G5XQYZKPIPU5J1RSCVIZ48QKVU5JIIJP

Data from Racemap */times API need be transferred to RACE|RESULT API format, e.g. with a python script:

Using this format virtual detections are imported in RACE|RESULT one by one.

Last updated