The iRail API allows us to get train composition data for any connection. This allows us to do a few things:
- Visual flair — we can take images of some common trains from mlgtraffic.net and display them on the detail screen (although to conserve space, probably not all trains, but just the most common ones, like M6, M7, I10, AM08, ???)
- Carriage number indicators — the train composition data allows us to determine which carriages have bathrooms, PRM doors, priority places, first class places, and bike space. Displaying all of this would take up too much space, but if we allow users to pick what's important to them (i.e. if you are a wheelchair user you can pick PRM door information, or if you have a first class season ticket you can take first class seat info), and only show these in a compact format (i.e.
♿: 1, 4, 5)
- Section information — in Brussel-Centraal you can see which section to stand in to board specific carriages. Right now iRail doesn't show this info, but in the future could be useful to show suggestions based on user preferences (for example, if you are a wheelchair user, show sections where the PRM doors are)
The iRail API allows us to get train composition data for any connection. This allows us to do a few things:
♿: 1, 4, 5)