Commit graph

121 commits

Author SHA1 Message Date
Jannis R
96b4d55f56 re-upgrade profiles, adapt feature flags, adapt tests 2021-05-01 10:58:45 +02:00
Jannis R
251e7925c9 pull more profile base data from transport-apis 2021-05-01 10:58:45 +02:00
Tobias Roehr
6f56f15284 Enable usage of 1st class BahnCards and fix typo 2021-03-25 13:05:10 +01:00
Jannis R
c260e34f20
DB: parse gridL[].itemL[].remL[] 🐛 2021-01-26 21:15:19 +01:00
Jannis R
6c4785b05b
DB: use JSON base profile 2021-01-26 21:15:19 +01:00
Jannis R
53e10f73b7 profile flag for 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
322004bdcd
DB: stop.facilities.raw as non-enumerable property 2020-05-21 17:55:01 +02:00
Jannis R
9e75f42346
DB: parse Reisezentrum opening hours & station facilities 2020-05-21 17:51:25 +02:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
e5abe3d98a
DB: fix journey leg loadFactor parsing 🐛 2020-02-25 08:22:49 +01:00
Jannis R
9fc6664302
adapt profiles to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
b8496be1a3
DB journeys: make default price null 💥
closes #91
2020-01-05 17:50:55 +01:00
Jannis R
93814983da
add profile.parseCommon 2020-01-05 17:50:27 +01:00
Jannis R
105c18b30d
DB profile: always use rtMode: HYBRID 2019-11-18 18:35:01 +01:00
Jannis R
2993cc0e87
put more todos
[ci skip]
2019-08-30 16:27:34 +02:00
Jannis R
77afb9f9a3
DB: enable radar() 2019-07-20 13:07:16 +02:00
Jannis R
f5121f1bf6
changelog 📝, minor changes, 4.5.0
[ci skip]
2019-07-08 21:12:39 +02: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
567cc98409
DB, INSA, Nah.SH, ÖBB: nationalExp -> nationalExpress 💥 2019-02-28 16:45:31 +01:00
Jannis R
a972dad7b8
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
8b87868fba
adapt docs & examples to bad0af8 📝 2019-02-28 16:44:10 +01:00
Jannis R
1e16a10f3d DB: optionally use line.nameS 2019-02-13 14:05:06 +01:00
Julius Tens
d797333a70 db: parse additional line names 2019-02-13 14:05:06 +01:00
Jannis R
215fce004b
DB readme: document loyaltyCard option 📝
[ci skip]
2018-12-12 16:36:36 +01:00
Jannis R
d11b60bbd1
minor changes in readme, profile examples
[ci skip]
2018-12-10 14:38:21 +01:00
Jannis R
8b572d6184 profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
Jannis R
e20f65823b
adapt profile docs to 5d9d738 📝 2018-07-28 14:58:25 +02:00
Jannis R
f20931b6de adapt docs & examples to 0a0cddc 📝 2018-07-24 18:29:31 +02:00
Jannis R
fe8e68e4a2
fix DB hints parsing 🐛 2018-07-13 12:17:15 +02:00
Jannis R
90519cff68
remove accidental logging
[ci skip]
2018-07-09 19:48:14 +02:00
Jannis R
4529a93175
parse DB-specific hints inside DB profile 2018-07-09 19:32:23 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
58f183506e
option to parse station lines, default off 💥, adapt docs 📝 2018-06-28 13:04:03 +02:00
Jannis R
471f075dea
fix nearby examples 📝 2018-06-28 13:01:18 +02:00
Jannis R
ac9819b1dd query arrivals , docs 📝 2018-06-26 18:13:41 +02:00
Jannis R
b6fbaa5825
parse fns: opt param 💥
- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parseNearby
- parseStopover
2018-06-13 20:05:33 +02:00
Jannis R
8881d8a1a4
parse fns: individual params -> data object 💥
From now on, all higher-level parse fns will be able to access more
of the response data while keeping their signature.

- parseLine
- parseDeparture
- parseJourney
- parseJourneyLeg
- parseLocation
- parseMovement
- parsePolyline
- parseNearby
- parseStopover
2018-06-13 20:05:24 +02:00
Jannis R
b419477a7d
merge next into tests-rewrite 2018-06-10 14:57:51 +02:00
Jannis R
665bed9f79 rename location(id) -> station(id) 💥
see #17 for reasons
closes #17
2018-06-10 14:47:29 +02:00
Jannis R
1bb1ce4f8b
merge next into tests-rewrite 2018-05-30 14:22:23 +02:00
Jannis R
e479619387
cherry-pick 16c3f01: DB: 1.16 protocol, journeyLeg, fix polylines 🐛 2018-05-24 14:06:53 +02:00
Jannis R
bdc23c64e2
cherry-pick c60213a 2018-05-07 12:34:56 +02:00
Jannis R
3d69ae225d
DB: tram mode should be train 🐛 2018-04-24 16:59:35 +02:00
Jannis R
e87ccf5a3b
DB: add currency to price 🐛, enable journeyLeg 2018-04-19 15:21:49 +02:00
Jannis R
94bbe2361b
products[].product -> products[].id 2018-03-16 17:15:09 +01:00
Jannis R
08357dfa9d
parseLine: move mode & products parsing from profiles into main code 2018-03-16 17:15:09 +01:00
Jannis R
83248785e5
formatProducts: move factory from profiles into main code
and rename to `formatProductsFilter`
2018-03-16 17:15:08 +01:00
Jannis R
ce43f15ad5
parseProducts: move factory from profiles into main code 2018-03-16 17:15:08 +01:00
Jannis R
b7c1ee3b05
new products markup 2018-03-16 17:15:08 +01:00