API does not return data after TRAININFO query
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
New
|
Undecided
|
Unassigned |
Bug Description
The API does not provide anything other than the following text:
{'ControlMode': 'EXPLORER'}
after I send a request to it via the URL:
http://
It should return much more, such as the speed of the train, the gradient of the track and the distance to the next station.
When I request data via this URL:
http://
I get the data I expect back, such as regulator and reverser settings.
Thus, I think that the code concerning the API is incomplete for some queries.
I have tested this with all the versions I can select in the launcher, from the stable version to developer builds. My log is attached.
For my use case, making the simulator accessible to screen readers, I require the data from TRAININFO in addition to CABCONTROLS.
If this is indeed an issue with the API, may I know which fall I would need to edit in order to rectify this problem? Thank you.