the web api should be able to take requests such as
"next train to london from birmingham" and return a search query url to the web interface
[ ] next train to X from Y
[ ] trains arriving at X [from Y]
[ ] trains departing from X [ to Y]
[ ] trains calling at X [to Y] [ from Z]
[ ] 10.02 from X [to Y] - X/Y can be any stop along route - directs to train page
locations should be CRS codes or station names.
the web interface will can also pass through partial results to be auto completed by the web api.the web api should return an array of options along with the relevant url to display the results
the web api should be able to take requests such as "next train to london from birmingham" and return a search query url to the web interface
locations should be CRS codes or station names.
the web interface will can also pass through partial results to be auto completed by the web api.the web api should return an array of options along with the relevant url to display the results