iRail / stations

A list of all the Belgian stations and their properties used within the iRail project
http://irail.be/stations/NMBS
30 stars 20 forks source link

timesel parameter is not working #133

Closed vakoz2 closed 6 years ago

vakoz2 commented 6 years ago

Setting timesel parameter in connection URI makes no difference. If I understand correctly, timesel=arrival should set time and date values of arrival, but it does for departure's. Here is a small script and result: test.sh

curl "https://api.irail.be/connections/?from=Gent-Sint-Pieters&to=Mechelen&date=280618&time=1230&timesel=arrival" > arrival.xml
curl "https://api.irail.be/connections/?from=Gent-Sint-Pieters&to=Mechelen&date=280618&time=1230&timesel=departure" > departure.xml
wdiff --no-common arrival.xml departure.xml | colordiff

Result same

Bertware commented 6 years ago

This is the repository for the stations database. I created an issue in the correct repository: https://github.com/iRail/iRail/issues/351