Jannis R
|
11ca3b171a
|
add tripsByName() method, docs 📝
docs
|
2020-10-06 22:22:30 +02:00 |
|
Jannis R
|
40df65f462
|
minor tweaks, changelog 📝, 5.7.0
[ci skip]
|
2020-08-01 13:14:16 +02:00 |
|
Jannis R
|
2c04e2f728
|
journeys: async fn -> .then, don't check profile.journeysNumF 🐛
|
2020-07-20 16:42:51 +02:00 |
|
Jannis R
|
71db75df93
|
journeys: expose realtime data timestamp
|
2020-07-19 23:26:55 +02:00 |
|
Jannis R
|
51f4a66bd8
|
journeys: remove collection of results
Reverts 7fd574f .
See also https://github.com/public-transport/hafas-client/pull/23#issuecomment-370246163 .
|
2020-07-19 22:58:13 +02:00 |
|
Jannis R
|
d2314e0d40
|
journeys: don't send outDate/outTime & ctxScr
|
2020-06-15 15:39:09 +02:00 |
|
Jannis R
|
dce42bfa31
|
move trip parsing into parse/trip
|
2020-06-11 15:34:20 +02:00 |
|
Jannis R
|
a8a9303e6f
|
nearby: return at most opt.results results
|
2020-06-10 15:00:49 +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
|
3c888a0ea0
|
refreshJourney: actually throw the error 🐛, add code
|
2020-04-18 17:14:40 +02:00 |
|
Jannis R
|
0699d4d22e
|
departures/arrivals: let results default to null
https://github.com/public-transport/hafas-client/pull/171#discussion_r397402352
|
2020-04-09 14:33:58 +02:00 |
|
Jannis R
|
e032ec1acd
|
"invalid response" error: add isHafasError flag
So that consuming code can tell that this error is caused by an
invalid/unexpected response from HAFAS.
|
2020-04-01 19:03:38 +02:00 |
|
Jannis R
|
ae74bb420d
|
departures/arrivals: add results option
|
2020-03-21 13:13:03 +01:00 |
|
Jannis R
|
78487d9163
|
journeys: default earlierRef & laterRef to null 🐛
`JSON.stringify` exludes entries with `undefined`.
|
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 |
|
Julius Tens
|
df010fc24c
|
enable no-irregular-whitespace and no-mixed-spaces-and-tabs rules, fix non-compliant whitespace
|
2020-02-27 17:10:03 +01:00 |
|
Simeon Keske
|
1c67350b48
|
move refreshJourneyReq-formatter to own function
|
2020-02-08 18:05:42 +01:00 |
|
Jannis R
|
39a626784b
|
request formatters via profile
|
2020-01-05 18:10:10 +01:00 |
|
Jannis R
|
773035c05d
|
call formatProductsFilter via profile, use products from ctx.profile 💥
|
2020-01-05 18:10:10 +01:00 |
|
Jannis R
|
6d5c6081ce
|
request() via profile 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
252ce5b515
|
lib/request, index: use ctx object 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
fb7a5653e3
|
parseProductsBitmask via profile, pass ctx into parse fns 💥
|
2020-01-05 18:10:09 +01:00 |
|
Jannis R
|
4162328fd4
|
createClient(): request parameter -> opt parameter 💥
|
2020-01-05 17:52:17 +01:00 |
|
Jannis R
|
4270125bf7
|
parse: minor changes
|
2020-01-05 17:51:27 +01:00 |
|
Jannis R
|
9a89cd0dc8
|
profile-based whitelist for walkingSpeed
|
2020-01-05 17:50:56 +01:00 |
|
philipp lange
|
f8210c5515
|
journeys: add walkingSpeed option
|
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
|
272bf64e5e
|
BVG: use 1.21 protocol
|
2020-01-05 17:50:27 +01:00 |
|
Jannis R
|
93814983da
|
add profile.parseCommon
|
2020-01-05 17:50:27 +01:00 |
|
Jannis R
|
ed0c606db1
|
add journeysOutFrwd profile flag
|
2019-12-29 22:18:22 +01:00 |
|
Jannis R
|
9ce72930b1
|
put more todos
|
2019-10-28 17:42:33 +01:00 |
|
Christopher Zentgraf
|
f92e9336c0
|
DB departures/arrivals: parse load factor
See https://www.bahn.de/p/view/service/buchung/auslastungsinformation.shtml for reference.
|
2019-05-28 11:16:51 +02:00 |
|
Jannis R
|
29aea9a5ef
|
journeys: fix opt.results === null 🐛
|
2019-03-01 11:37:25 +01:00 |
|
Jannis R
|
16461733e4
|
Error -> TypeError 💥
|
2019-02-28 16:45:40 +01:00 |
|
Jannis R
|
a972dad7b8
|
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝
|
2019-02-28 16:45:18 +01:00 |
|
Jannis R
|
8f9b22e296
|
locations, nearby: opt.stations -> opt.stops 💥 📝
|
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 |
|
Milan
|
fcc53b5d2a
|
journeys: return object with journeys, earlierRef, laterRef 💥
Previously, an array with additional attributes `earlierRef` and `laterRef` was returned.
When JSON-stringified, the attributes were missing.
|
2019-02-28 16:44:59 +01:00 |
|
Jannis R
|
3bc2eff530
|
locations: default opt.results to 5 💥 📝
|
2019-02-28 16:44:58 +01:00 |
|
Jannis R
|
96ff59dc43
|
leg.id -> leg.tripId 💥
|
2019-02-28 16:44:36 +01:00 |
|
Jannis R
|
bad0af8e25
|
rename station(id) -> stop(id) 💥
|
2019-02-28 16:44:10 +01:00 |
|
Jannis R
|
46e772967a
|
remove console.error call 🐛
[ci skip]
|
2019-02-28 16:23:54 +01:00 |
|
Jannis R
|
5d0096c596
|
departures: profile flag for getPasslist & stbFilterEquiv
|
2018-12-30 18:42:05 +01:00 |
|
Jannis R
|
e867dac2ab
|
arrivals/departures: opt.stopovers for previous/next stopovers, docs 📝
|
2018-12-28 22:14:35 +01:00 |
|
Jannis R
|
5beff47dea
|
radar: fix polylines option 🐛
Had to set the default value to `true` to stay backwards-compatible.
|
2018-12-13 19:30:55 +01:00 |
|
Jannis R
|
9d96902794
|
readableFrom: make maxDuration optional
[ci skip]
|
2018-11-01 19:39:04 +01:00 |
|
Jannis R
|
02e0e513ef
|
parse scheduled days of a journey
|
2018-10-25 18:57:31 +02:00 |
|
Jannis R
|
95839372b5
|
trip: remove when option, it gets ignored anyways
|
2018-10-15 20:10:50 +02:00 |
|
Jannis R
|
c6b7aa74dd
|
VBB supports numF again
|
2018-09-25 20:19:06 +02:00 |
|