Closed regagain closed 8 years ago
The question is if the old API and the new API are the same, so that just the Query URL needs to be changed. On their side, I made a request and this URL was called:
http://sl.se/api/sv/TravelPlanner/SearchTravelById/Karl%20XII;s%20torg%20(Stockholm)/Torsvik%20(Liding%C3%B6)/1023/9252/null/depart/sv/null/null/2,8,1,4,96,/null/null/null/null/null/false/null/0/0/null/false
StockholmProvider is Hafas-based. So it won't be able to read the API @grote suggests.
I wonder if SeProvider already has all the data we needed. It uses http://samtrafiken.hafas.de/bin/
, and according to my comments at some point in time (months ago) both http://reseplanerare.resrobot.se/bin/
and http://api.vasttrafik.se/bin/
seemed to point to the same API.
I checked today & yes, SeProvider has all the Stockholm data.
PS: I apologize for the late reply.
Fixed via 26621e5.
...since April 1st, as explained here (in Swedish). As a result, all queries for this provider fail.
They recommend using http://sl.se/ or http://resrobot.se/ instead.