Hi,
I have specially constructed a trip to check for large walks before reaching the very first public transport. I've noticed that the walk duration in the first section of this trip (which is only done by foot to reach the transportation stop) is shown as null with the Open Data Transport API:
http://transport.opendata.ch/v1/connections?from=Ch%C3%A2teau+d%27Oex%2C+Route+du+Mont+137&to=Vevey&via=&date=2020-06-22&time=07%3A00&isArrivalTime=0&limit=4&page=&direct=0&sleeper=0&couchette=0&bike=0&accessibility=

But that the exact same query, when executed directly on search.ch actually shows this walk duration:
https://timetable.search.ch/Ch%C3%A2teau-d%27Oex,Rte-du-Mont-137..Vevey?time=07.00&date=Mon+06%2F22%2F2020&toggle=v1

I also noticed that these 65 minutes correspond, indeed, to the difference between these two values in the Transport API response:
json_response['connections'][0]['sections'][0]['departure']['departureTimestamp']
and
json_response['connections'][0]['sections'][0]['arrival']['arrivalTimestamp']
Thanks for taking a look.
Regards.
Hi,
I have specially constructed a trip to check for large walks before reaching the very first public transport. I've noticed that the walk duration in the first
sectionof this trip (which is only done by foot to reach the transportation stop) is shown asnullwith the Open Data Transport API:http://transport.opendata.ch/v1/connections?from=Ch%C3%A2teau+d%27Oex%2C+Route+du+Mont+137&to=Vevey&via=&date=2020-06-22&time=07%3A00&isArrivalTime=0&limit=4&page=&direct=0&sleeper=0&couchette=0&bike=0&accessibility=
But that the exact same query, when executed directly on search.ch actually shows this walk duration:
https://timetable.search.ch/Ch%C3%A2teau-d%27Oex,Rte-du-Mont-137..Vevey?time=07.00&date=Mon+06%2F22%2F2020&toggle=v1
I also noticed that these 65 minutes correspond, indeed, to the difference between these two values in the Transport API response:
json_response['connections'][0]['sections'][0]['departure']['departureTimestamp']and
json_response['connections'][0]['sections'][0]['arrival']['arrivalTimestamp']Thanks for taking a look.
Regards.