I've started work on the Restful API for PyTrain.
http://127.0.0.1/engine/72 -->
{ "current_speed": 0, "road_name": "Union Pacific GP35", "road_number": "0742", "tmcc_id": 72 }
I was happy to see I could rather quickly adapt the PyTrain main program to support being called as a provider by another process. From here on out, I want to minimize changes to the main PyTrain GitHub project and do the api-specific stuff in a new GitHub project: PyTrainApi. The one exception is I will probably add the ability to get state info in JSON form...
-- Dave