[API] Is there a way to know what car you're driving?

Yann

New member
Hi there,
I've been working on an overlay using both SharedMemoryMapPlugin64.dll and the REST API, but I can't find a way to know what car I am driving. The closest I got was mVehicleName in rF2VehicleScoring, but this contains the Team's name, not really the car's manufacturer (like Mc Laren, Ferarri, ect...)
I figured I could cross reference with http://localhost:6397/rest/sessions/getAllVehicles but that only works if I use standard teams, not custom teams we have in online racing since that endpoint seems to return a static list.

Any suggestion?
 
Oh that's perfect, thank you very much!
Btw, how did you discover those endpoints? Did you spy on the official overlay to see what ports/endpoints it was connecting to, or is there a list somewhere?
 
Back
Top