Track Times API

Post anything about MX Simulator here. Please. I'm begging you.
MasterT
Posts: 1
Joined: Thu Jun 28, 2018 1:05 pm
Team: Privateer

Track Times API

Postby MasterT » Thu Jun 28, 2018 1:09 pm

Say I wanted to display a MX Sim track on a website. Is there a way to pull the lap time information for that track?

I'm guessing, "no", but figured I'd ask.

jlv
Site Admin
Posts: 12779
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Track Times API

Postby jlv » Fri Jun 29, 2018 1:18 am

The lap records are stored in json files like this one:

http://mxsimulator.com/servers/elsinore.mxsimulator.com:19800/tracks/alcrest/records_all

In addition to "records_all" there is "records_125", "records_250f", "records_250" and "records_450f". The times are in 1/128 second units.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.


Return to “General Discussion”

Who is online

Users browsing this forum: nickallen199 and 7 guests