Commit graph

42 commits

Author SHA1 Message Date
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
95d2c61fbd
add todos; readme: link to kpublictransport 📝 2021-12-08 14:12:23 +01:00
Jannis R
ca6f75501c
add todos; add @MTRNord as contributor 2021-11-18 18:29:25 +01:00
Jannis R
9f82d3305c
readme: minor tweaks 📝; changelog 📝; 5.15.1
[ci skip]
2021-02-13 00:00:53 +01:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
d92eb154c2
parseLocation: give type: station to stops with stopLocL[] 2020-05-21 17:51:25 +02:00
Jannis R
1abafb5bd4
parseLocation: prevent endless recursive loops 2020-05-21 17:51:25 +02:00
Jannis R
76e310218a
parseLocation: parse entrances & sub-stops lists 2020-05-21 17:51:25 +02:00
Jannis R
2cb6a0c32b
parseIcon, parseHint, parseLocation: handle more edge cases 🐛 2020-03-18 21:45:36 +01:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
3ea9380218 parseLocation: parse fare zone, transit authority & more foreign stop IDs
closes #131
see also #5, #90
2020-03-08 23:04:04 +01:00
Jannis R
2a241375db parseLocation: parse foreign stop IDs from I hints
`rRefL` seems to be used by older HAFAS endpoints, e.g. `ver: 1.11`.

see also #5, #90, #131
2020-03-08 23:04:04 +01:00
Julius Tens
bc30309056 bugfixes: fix undefined variables 🐛 2020-02-27 17:10:03 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
758deaf2d5
parseCommon: resolve line references 2020-01-05 17:51:27 +01:00
Jannis R
1cc453b778
parseArrOrDep, parseLocation: bugfixes 🐛 2019-10-28 17:43:27 +01:00
Jannis R
9ce72930b1
put more todos 2019-10-28 17:42:33 +01:00
Jannis R
e46d6cd588
parseLocation: expose stop.isMeta 2019-06-30 13:21:25 +02:00
Jannis R
eb3ffba4fc
make POIs objects with poi: true 💥
fixes #42
2019-02-28 16:45:31 +01:00
Jannis R
4a79b91680
parseLocation: L param as fallback ID 2019-02-28 16:45:31 +01:00
Jannis R
a972dad7b8
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
1e13cf15ae
parseLocation: strip leading zeros from IDs 💥 2019-02-28 16:30:18 +01:00
Jannis R
cb2d2981a3
stops/stations: default .id of null 2018-12-28 22:13:29 +01:00
Jannis R
a475f2048d parse stops and their stations 2018-07-13 16:07:23 +02:00
Jannis R
58f183506e
option to parse station lines, default off 💥, adapt docs 📝 2018-06-28 13:04:03 +02:00
Jannis R
f5eceafdf3
merge refactor-parse-fns into next 2018-06-26 13:07:06 +02:00
Jannis R
3e18f5d415
gitignore lockfile, add & remove todos, minor changes 2018-06-13 20:25:56 +02:00
Jannis R
b6fbaa5825
parse fns: opt param 💥
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parseNearby
- parseStopover
2018-06-13 20:05:33 +02:00
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
57f3cdb7e0 parseLocation: null as fallback station name 2018-05-25 16:08:17 +02:00
Jannis R
787b00228e
let parseStopover use parseStationName 🐛 2018-03-17 16:47:34 +01:00
Jannis R
c123d9e451
INSA: enable radar 2018-03-13 21:06:27 +01:00
Jannis R
39636f12bf
parse lines at a location 2018-01-26 17:07:36 +01:00
Jannis R
a2fa56edc1
more bugfixes 🐛 2017-12-11 20:04:32 +01:00
Jannis R
608a91989f
bugfixes 🐛, even more todos 2017-12-11 19:40:46 +01:00
Jannis R
3811b4553c
FPTF location objects
see public-transport/friendly-public-transport-format@6481dee
2017-12-11 19:25:30 +01:00
Jannis R
6b1f22cc65
parse product bitmasks 2017-11-13 00:30:14 +01:00
Jannis R
3c9f3393ba
pass in parsers 2017-11-12 01:23:34 +01:00
Jannis R
fb43a4e43b
code style 👕
- rename variables
- more consistent indentation
- give crucial anonymous functions a name
- add more TODOs
2017-11-12 00:05:32 +01:00
Jannis R
79db55d99c
split parse.js 2017-11-11 22:45:17 +01:00