Jannis R
8881d8a1a4
parse fns: individual params -> data object 💥
...
From now on, all higher-level parse fns will be able to access more
of the response data while keeping their signature.
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parsePolyline
- parseNearby
- parseStopover
2018-06-13 20:05:24 +02:00
Jannis R
21c273cec7
journey leg passed stations: parse & expose delays
2018-06-07 18:52:47 +02:00
Jannis R
431574b756
parseJourneyLeg, parseMovement: use parsePolyline 💥 , refactor
2018-05-24 10:26:24 +02:00
Jannis R
c435e25390
parseJourneyLeg: null as fallback direction 🐛
2018-05-13 22:52:33 +02:00
Jannis R
71d087aa23
refactor polyline parsing, add todo
2018-05-03 00:17:17 +02:00
Jannis R
7c6e87afff
journey legs: return polylines
2018-05-03 00:17:17 +02:00
Jannis R
5d10d76a15
journey legs: parse cycle
2018-04-29 14:29:29 +02:00
Jannis R
d676b8430d
fix journey leg alternatives 🐛
...
- use realtime data if available
- don't filter by departure station (HAFAS IDs are complicated)
2018-04-29 13:41:23 +02:00
Jannis R
bdad9c6ef6
parseStopover: cancelled arrival & departure 🐛
...
also clean up parseMovement and add DRY todos
2018-03-17 17:16:03 +01:00
Jannis R
6ba617b1bc
let parseMovement use parseStopover 🐛
2018-03-17 16:47:31 +01:00
Jannis R
7ce65ca480
departures, journeys: canceled, former scheduled time
...
see public-transport/friendly-public-transport-format#27
2018-03-08 03:28:26 +01:00
Jannis R
be6d063cf3
journey leg: delay -> departureDelay/arrivalDelay as in docs 🐛
2018-02-01 15:10:37 +01:00
Julius Tens
ac56493768
mark & filter stations that are passed without stopping, as they contain no arrival/departure time information which would violate the fptf spec
2017-12-29 09:00:18 +01:00
Jannis R
8985f8ccd2
rename journey.parts -> journey.legs
2017-12-28 17:13:02 +01:00