Commit graph

51 commits

Author SHA1 Message Date
Jannis R
9b263bb379
rework error handling 💥📝 2022-11-17 15:17:02 +01:00
Jannis R
7b0374695a
VBB: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
d2bc134645
VBB: don't shorten stop/station names 💥 2022-11-17 15:17:01 +01:00
Jannis R
5ecf03f349
VBB: don't convert 7/9 <-> 12 digit IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
df4124e31d
BVG: don't shorten names 💥 2022-11-17 15:17:01 +01:00
Jannis R
1f6115955d
BVG: don't convert IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
1ae1362916
BVG: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
e0cdd55908
parseWarning: {from,to}Loc -> {from,to}Location 💥 2022-11-17 15:17:01 +01:00
Jannis R
a60083f8d1
parse trip.scheduledDays 2022-11-16 15:23:25 +01:00
Jannis R
b6900a3ddb
parse journey.scheduleDays using fpB & fpE 🐛
fixes #277

Thanks @bergmannjg!
2022-11-16 15:22:18 +01:00
Jannis R
0f7382e3b8
parse{Arrival,Departure}: properly parse .origin & .destination 🐛
fixes #273

Co-Authored-By: Jürgen Bergmann <bergmannj@posteo.de>
2022-10-15 14:02:11 +02:00
Jannis R
95af0a0127
parse{Arrival,Departure}: expose prognosisType
fixes #266
2022-07-22 01:07:09 +02:00
Pieterjan Van Saet
7c68f962c1
parse{Stopover,JourneyLeg, Trip}: expose {arrival,departure}PrognosisType
see #266

Co-authored-by: Jannis R <mail@jannisr.de>
2022-07-22 01:06:35 +02:00
Jannis R
0a63698100
parse CHKI legs with checkin: true
fixes #267
2022-07-21 21:37:01 +02:00
Jannis R
7e1f7ed4ee
BVG/VBB: parse stop DHIDs 2022-04-26 22:08:23 +02:00
Benoit Deldicque
57084262a2
add departure.destination & arrival.origin 📝
closes #260
fixes #259

Co-Authored-By: Jannis R <mail@jannisr.de>
2022-02-21 11:43:27 +01:00
Jannis R
69ddf5fb8d
BVG: parse occupancy 2021-10-28 12:42:55 +02:00
Jannis R
97b6a76e75
parseTrip: expose realtimeDataUpdatedAt 2021-10-28 00:25:58 +02:00
Jannis R
f0d33564f2
parseTrip: handle missing stopL[] (on-demand trips) 🐛 2021-10-24 22:52:52 +02:00
Jannis R
c1ee557cf8
parseArrOrDep: export currentTripLocation 📝 2021-10-12 17:53:28 +02:00
Jannis R
6507d5a786
VBB departures() test: update fixtures 2021-10-12 17:46:52 +02:00
Jannis R
b10c1ce644
Rejseplanen trip() test: update fixtures 2021-10-12 17:40:30 +02:00
Jannis R
0a096a13d7
parseJourneyLeg/parseTrip: expose currentLocation 📝 2021-10-12 17:37:34 +02:00
Yureka
c3bdcc880f expose prodCtx.catOut as line.productName
Closes #242
2021-08-21 00:08:47 +02:00
Yureka
dd52c4ade2 adapt fixtures for new price format 2021-08-18 12:56:05 +02:00
Jannis R
216102763d
first/last walking leg: dTZOffset/aTZOffset of 0 🐛
fixes #237

Thanks @yu-re-ka!
2021-08-17 16:50:21 +02:00
Jannis R
c260e34f20
DB: parse gridL[].itemL[].remL[] 🐛 2021-01-26 21:15:19 +01:00
Jannis R
4efff792ef
parseJourney: use j.recon.ctx as refreshToken too 🐛
see also d017e62
see also #164
2021-01-19 15:14:39 +01:00
Jannis R
17e08acfbb parseJourneyLeg parseAlternative: handle missing stopL[] 🐛, add tests 2020-12-26 21:54:04 +01:00
Jannis R
ed48971fb1 add remarks() 2020-11-28 11:25:43 +01:00
Jannis R
66ff661767
parseJourneyLeg applyRemarks: handle legs without stopovers 🐛 2020-11-15 14:43:47 +01:00
Jannis R
25fb25c18d parseLeg: use remarks without fIdx/tIdx 🐛 2020-09-15 11:36:24 +02:00
Jannis R
da01544b42
add test: VSN with platform objects
test for 5cddd40
2020-08-01 18:26:37 +02:00
Jannis R
20d00ca3f0
add test: DB journeys() with polyline 2020-07-26 13:38:01 +02:00
Jannis R
51b3ca3c20 tape@5, remove tape-promise 2020-06-15 15:39:09 +02:00
Jannis R
fc2e214bb7
add ÖBB trip() test 2020-06-11 16:12:18 +02:00
Julius Tens
57fc610a5f add tests for arrival parsing (db) 2020-06-09 18:02:33 +02:00
Julius Tens
3ca4a0c2b2 add provenance field on arrivals 2020-06-09 18:02:33 +02:00
Jannis R
542aa8caef parse DEVI journey legs 2020-05-31 12:38:07 +02:00
Jannis R
322004bdcd
DB: stop.facilities.raw as non-enumerable property 2020-05-21 17:55:01 +02:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
0251e314cc
DB parseLocation() test: expect sub-stops, facilities, foreign IDs 2020-05-21 17:51:25 +02:00
Jannis R
8c7f164fa3 parseLine: expose adminCode
The admin code is often helpful to distinguish lines that can't
be distinguished by their `operator.id`. See also #10.
2020-03-08 23:44:40 +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
Jannis R
b9d5c85a54 tests: DB stop(), INSA stop() 2020-03-08 23:04:04 +01:00
Jannis R
e049aa3d04
parseWarning: fix parseMsgEvent 🐛 2020-01-15 18:17:06 +01:00
Jannis R
99d1531dbb
adapt tests to c2dc874 2020-01-05 17:55:37 +01:00
Jannis R
2d1d482ddf
adapt tests to 938a6f2 2020-01-05 17:55:27 +01:00
Jannis R
2b9280e6c3
adapt tests to 29a2cf3 2020-01-05 17:55:16 +01:00