Commit graph

7 commits

Author SHA1 Message Date
Marius Angelmann
86f2302ad4
Add BMIS number support for business customer rates (#30)
* Add BMIS number support for business customer rates

Introduces a new `bmisNumber` option to journey requests, allowing bahn.business customers to access corporate rates by providing their 7-digit BMIS number. Adds documentation and a `createBusinessClient` helper for convenience. The request payload now includes a `firmenZugehoerigkeit` object when a BMIS number is set.

* Update cspell.config.json

Update cspell.config.json to fix spell check issues in PR #30
2025-07-14 19:48:41 +02:00
Traines
ad09f8b1be dticket support 2025-04-11 20:59:06 +00:00
Traines
162b946bac support for bestprice, notOnlyFastRoutes, serviceDays, fix param default handling 2025-03-15 22:44:08 +00:00
Traines
bc676fd0b6 more tests, docs 2025-01-09 00:07:17 +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
87a705e966 dbnav journeys, trips, fixes 2025-01-03 10:57:24 +00:00