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
f741a13670
docs
2025-03-15 23:15:40 +00:00
Kristjan ESPERANTO
de63bf0a37
Fix typos found with cspell
2025-03-06 16:13:56 +01:00
Traines
3c7227635a
docs fixes
...
[skip ci]
2025-01-14 22:35:19 +00:00
Traines
1b0858a253
update docs
2025-01-14 22:16:09 +00:00
Traines
a59a3d78dc
add back hafas-client docs
2025-01-14 21:15:30 +00:00
Traines
2e094c2b78
initial db-vendo with /journeys (wip)
2024-12-07 16:17:16 +00:00
Max Buchholz
6e74b9ab60
Fix typo in journeys.md
2024-04-22 15:00:52 +02:00
Jannis R
5910d62535
docs: make user agent instructions more specific & actionable 📝
...
related: #286
2023-03-14 20:58:17 +01:00
Kristjan ESPERANTO
d8805d9ea3
docs: fix profile imports in code examples 📝
...
closes #278
2022-11-22 21:09:06 +01:00
Jannis R
339d64e901
convert to ESM 💥 📝
2022-11-18 19:20:03 +01:00
Jannis R
751ae21d18
journeys/refreshJourney/journeysFromTrip: realtimeDataFrom -> realtimeDataUpdatedAt 💥 ✅ 📝
2022-11-17 15:17:02 +01:00
Jannis R
90308411fc
docs: .then/.catch -> await 📝
...
[ci skip]
2022-11-17 15:17:01 +01:00
Jannis R
0a096a13d7
parseJourneyLeg/parseTrip: expose currentLocation ✅ 📝
2021-10-12 17:37:34 +02:00
Jannis R
e871c80900
link to FPTF v2 draft spec 📝
...
fixes #243
2021-08-18 16:00:16 +02:00
Jannis R
07c77f8cf9
add subStops & entrances options
2020-05-21 17:51:25 +02:00
Jannis R
b302ba75d2
minor readme/documentation tweaks 📝
...
- stop(): add `remarks: true` default
- journeys(): more intuitive options order
- readme: fix build status badge
2020-05-21 17:36:31 +02:00
Jannis R
0165320808
improve docs readability 📝
2020-01-05 17:55:56 +01:00
Jannis R
ef7bd42d15
adapt docs to c2dc874
📝
2020-01-05 17:55:49 +01:00
Jannis R
9c47a3908c
journeys: document walkingSpeed 📝
2020-01-05 17:50:56 +01:00
Jannis R
baff692b70
journeys: don't request nr of results by default 💥
2020-01-05 17:50:55 +01:00
Jannis R
26069806e0
remove 0 milliseconds from docs & tests
2019-04-29 18:23:40 +01:00
Jannis R
eab850e058
adapt docs & tests to eb3ffba
📝
2019-02-28 16:45:31 +01:00
Jannis R
c1bb9a6a5c
adapt docs & tests to 0e1fcb0
📝 ✅
2019-02-28 16:45:18 +01:00
Jannis R
61e7d14531
journeys: let opt.transfers default to -1 💥 📝
2019-02-28 16:45:18 +01:00
Jannis R
b2b2d11dfe
adapt docs to fcc53b5
📝
...
[ci skip]
2019-02-28 16:44:59 +01:00
Jannis R
cb535cdabe
remove line.class & line.productCode from docs 📝
...
adapting to 8dd4ef5
2019-02-28 16:44:59 +01:00
Jannis R
0daa1c5fef
adapt docs & examples to 96ff59d
📝
2019-02-28 16:44:36 +01:00
Jannis R
02e0e513ef
parse scheduled days of a journey
2018-10-25 18:57:31 +02:00
Jannis R
09895ce3fb
link to FPTF 1.2.0 📝
...
[ci skip]
2018-09-22 19:25:01 +02:00
Jannis R
e98cec1734
remove unused code, minor changes
2018-09-03 15:30:42 +02:00
Jannis R
9257d3ad7d
parse line.fahrtNr, adapt tests ✅ , adapt docs 📝
2018-08-22 19:06:57 +02:00
Jannis R
ffc392b66b
docs: link to FPTF 1.1.1, minor fixes 📝
...
[ci skip]
2018-08-01 10:05:00 +02:00
Jannis R
f20931b6de
adapt docs & examples to 0a0cddc 📝
2018-07-24 18:29:31 +02:00
Jannis R
d44ec05a1d
adapt markup in docs to current code 📝
2018-07-16 12:39:13 +02:00
Jannis R
e6130d7c23
changelog, related libs 📝 , clean up code
2018-07-16 11:36:27 +02:00
Jannis R
0199749a31
language option with default 'en'
2018-07-09 12:40:38 +02:00
Jannis R
86fc27e340
docs: journeyLeg() -> trip() 📝
2018-07-07 21:19:28 +02:00
Jannis R
31973431ff
option not to parse remarks
2018-06-28 13:45:56 +02:00
Jannis R
9305a129a8
journeys: startWithWalking with default true ✨
2018-06-25 18:34:10 +02:00
Jannis R
ce880c06bd
adapt tests & docs to 021ae45 & 3e672ee
📝 ✅
2018-06-25 11:35:01 +02:00
Jannis R
3e672eeabd
stopover.type, stopover.station -> stopover.stop 💥
...
To be compatible with `friendly-public-transport-format@1.1.1`.
2018-06-25 11:34:25 +02:00
Jannis R
ebe4fa64d8
opt.passedStations -> opt.stopovers 💥
2018-06-19 08:23:49 +02:00
Jannis R
6611f262bf
leg.passed -> leg.stopovers 💥
...
Some didn't unterstand what "passed" means in this context.
"stopovers" is a lot less ambiguous; Also, it aligns with
`parseStopover` and FPTF.
2018-06-19 08:23:49 +02:00
Jannis R
c82ad234e0
journeys: opt.when -> opt.departure/opt.arrival 💥
2018-05-30 16:39:51 +02:00
Jannis R
8c896fe8c1
docs for new polyline format 📝
2018-05-24 10:26:24 +02:00
Jannis R
2623fc44c6
merge master into next
2018-05-07 11:53:55 +02:00
Jannis R
49afc8a75b
journeys: polylines option
2018-05-03 00:17:17 +02:00
Jannis R
2430a74414
adapt docs to 005f3f8
📝
2018-03-23 21:19:25 +01:00
Jannis R
3756e36496
clarify docs 📝 , Patreon badge
2018-03-13 21:45:23 +01:00