I want to make a simple lobby app that would operate my sim rigs remotely

is there a way how to control the GUI via some API or to start a particular session (hotlap/predefined race with AI/multiplayer) using the startup parameters ?
Is there some kind of documentation on the startup parameters ?

i want to start the game on a sim remotely without any input from the user driver..

thank you for any answer!