Traines
6ff406ea79
artificially filter for includeRelatedStations and direction
2025-02-13 21:53:49 +00:00
dabund24
c671e995cb
bahn.de boards ( #12 )
...
* parse bahn.de boards
* add optional chaining in line.js
* unit tests for bahn.de boards
* fix product check in line.js for bahn.de boards
* add integration tests for bahn.de boards
* allow letting hafas decide the amount of vias
* split dbweb and dbregioguide profiles; add db profile
* commit location-filter.js (forgot that in the last commit)
* simplify how db profile works
* remove `ezGleis` from coalesce for scheduled platform
* un-break parsing of remarks
* determine fahrtNr by removing all non-digits
* employ enrichStations for board stop property
* prevent timeouts in dbweb e2e test from calling `end()` twice
* use promises in dbweb e2e tests when waiting for enrichStations to work
* replace vias option with stopovers option for dbweb profile; enrich stations when only name is known
* change dbweb-departures test covering enrichStation feature for stop and stopovers
* remove check for not existing option
* move verkehrsmittel.name in front of verkehrsmittel.langText when parsing name in line.js
2025-02-09 00:46:21 +01:00
Traines
911a6d371e
db: support for polylines
2025-01-14 21:12:23 +00:00
Traines
2b55f7148f
support db regio-guide trip id/endpoint
2025-01-14 21:07:23 +00:00
Traines
70f4cdb2b0
linting
2025-01-11 23:38:00 +00:00
Traines
bb692f4bc9
use proper correlation id
2025-01-11 23:37:07 +00:00
Traines
a624e62172
disable enrichStations for tests
2025-01-10 18:52:16 +00:00
Traines
bc676fd0b6
more tests, docs
2025-01-09 00:07:17 +00:00
Traines
98670d5e08
stop()
2025-01-08 23:24:40 +00:00
dabund24
632a29d2aa
Allow value -1
for transfers
option in journeys()
( #6 )
...
* allow value -1 for transfers option in journeys() for db and dbnav profiles
* add unit test for implicitly unconstrained transfers
* implement `formatTransfers()`, use it `formatJourneysReq()` functions and re-add corresponding unit test
2025-01-09 00:22:43 +01:00
Traines
b431fe65b7
support multiple travellers
2025-01-03 12:46:37 +00:00
Traines
db168b7a35
docs
2025-01-03 11:39:55 +00:00
Traines
87a705e966
dbnav journeys, trips, fixes
2025-01-03 10:57:24 +00:00
Traines
3d998de41c
dbnav boards, fixes
2025-01-02 14:00:45 +00:00
Traines
debc1ee150
dbnav profile: locations, nearby
2024-12-21 23:04:05 +00:00
Traines
771ab128b3
more refactoring
2024-12-21 16:30:11 +00:00
Traines
9f5e1fa6bd
refactoring journeysReq
2024-12-21 16:15:10 +00:00
Traines
ec723b3414
refactoring
2024-12-21 15:26:49 +00:00
Traines
73b4d40e02
trip by id support
2024-12-18 01:16:57 +00:00
Traines
5c5c1acd44
don't set undefined price fields
2024-12-17 20:43:54 +00:00
Traines
e87acc3e24
dbnav boards wip
2024-12-16 21:33:10 +00:00
Traines
175b166864
docs, dumps
2024-12-16 20:22:36 +00:00
Traines
30d84352ae
remove hafas-client dep
2024-12-16 12:02:47 +00:00
Traines
e18ac3f8d3
docs
2024-12-11 23:57:49 +00:00
Traines
760a1bdb54
refreshJourney with tickets, loyaltyCard/firstClass rest support, accept-lang
2024-12-11 23:51:58 +00:00
Traines
c663a35711
switch to regio-guide ris for boards
2024-12-10 17:51:20 +00:00
Traines
f8a79834b3
linting
2024-12-08 21:42:57 +00:00
Traines
0e328aa681
tests
2024-12-07 23:48:08 +00:00
Traines
80e633dcb7
arrival/departure, refactoring
2024-12-07 22:46:04 +00:00
Traines
2f45f66793
/locations, /locations/nearby, fixes
2024-12-07 18:29:16 +00:00
Traines
2e094c2b78
initial db-vendo with /journeys (wip)
2024-12-07 16:17:16 +00:00
Jannis R
31c4f17b10
ÖBB: change ver to 1.45 🐛
...
fixes #233
2024-09-26 00:41:29 +02:00
Jannis R
e411a4b60e
SNCB: remove superfluous code & certificate 💚
2024-09-25 22:08:26 +02:00
Jannis R
96f97f245e
SNCB: remove hard-coded SSL CA certificate chain 🐛
2024-09-25 21:49:31 +02:00
Jannis R
d2b490a4ff
KVB: remove hard-coded SSL CA certificate chain 🐛
2024-09-25 21:49:04 +02:00
Jannis R
329c89c4d4
KVB: fix bitmask for Regionalverkehr product 🐛
2024-09-25 21:48:24 +02:00
Jannis R
d001fcc1a4
BVG: update HAFAS client details again 🐛
2024-09-25 21:48:23 +02:00
Tim von Werne
8377202866
BVG: update auth aid in order to fix "invalid client version" error 🐛
...
fixes #324
fixes https://github.com/public-transport/bvg-hafas/issues/2
fixes https://github.com/derhuerst/bvg-rest/issues/22
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-09-25 21:48:20 +02:00
Jannis R
97268d7a8a
DB: remove stop() v1.16 workaround
...
Also, `LocGeoPos`/nearby() doesn't seem to break with `getStops: false` anymore.
2024-07-16 12:10:43 +02:00
Jannis R
7f78dc9458
add todos & comments
2024-03-12 12:26:46 +01:00
Paul Sutter
191b9abb6d
DB: add parseLoyaltyCard utility function
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:59 +01:00
Paul Sutter
c4966aeca7
DB: optionally parse ticket URLs
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:56 +01:00
Paul Sutter
248adb5f72
DB refreshJourney(): optionally request ticket infos
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:50 +01:00
Paul Sutter
fd90abdeca
DB journeys()/refreshJourney(): parse tickets from reponse
...
Co-Authored-By: Jannis R <mail@jannisr.de>
2024-03-12 01:18:29 +01:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
...
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Kristjan ESPERANTO
8520eb3d1c
Fix mode for 'ec-ic'
...
This threw an error in the intigration test.
2024-01-09 12:04:06 +01:00
Jannis R
0bc6ba3650
DB journeys(): pass along opt.age if defined ✅
2023-09-03 13:53:38 +02:00
Jannis R
45610fc951
IVB: update SSL CA certificate chain 🐛
2023-07-31 20:58:01 +02:00
Jannis R
581a47510d
profiles' examples: fixes, minor tweaks 🐛 📝
...
- hafas.station() -> hafas.stop() 🐛
- put stop IDs into variables
- .then/.catch -> async/await
- consistent order of methods
- minor reformatting for readability
2023-07-28 21:35:59 +02:00
Lambert Theisen
5ce0129c36
DB: add routingModes option 📝 ✅
...
closes #295
fixes #287
Co-Authored-By: Jannis R <mail@jannisr.de>
2023-07-25 15:51:24 +02:00