Jannis R
|
84c7582a33
|
journeys(): fix empty viaLocL[] 🐛
fixes #247
|
2021-10-26 14:08:06 +02:00 |
|
Jannis R
|
39ca7ede57
|
tripsByName: support some journey filters
|
2021-10-24 22:52:46 +02:00 |
|
Jannis R
|
fd6a349b64
|
tripsByName: more options, add to debug CLI, skipped E2E test ✅📝
|
2021-10-22 00:04:37 +02:00 |
|
Yureka
|
c10f31811a
|
Expose realtimeDataFrom for refreshJourney
Fixes #239
|
2021-08-17 20:26:47 +02:00 |
|
Jannis R
|
ce82817631
|
DB: add journeysFromTrip()
|
2021-08-04 15:21:00 +02:00 |
|
Jannis R
|
458d6a77af
|
refetchJourney/reachableFrom/remarks: make opt.polylines explicit
|
2021-01-26 22:15:35 +01:00 |
|
Jannis R
|
174ed80749
|
remarks(): support missing res.msgL[] 🐛
|
2021-01-19 15:14:39 +01:00 |
|
Jannis R
|
e6bc8c6f86
|
departures/arrivals: add line option
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
53e10f73b7
|
profile flag for lines()
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
9d8260bf5f
|
add lines()
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
731d9b8b81
|
profile flag for remarks()
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
ed48971fb1
|
add remarks()
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
3e6d6d9917
|
add serverInfo(), E2E tests ✅
see also #145
|
2020-11-28 11:25:43 +01:00 |
|
Jannis R
|
48ef7b5a5d
|
minor fixes
|
2020-11-15 14:18:25 +01:00 |
|
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 |
|