Commit graph

36 commits

Author SHA1 Message Date
Jannis R
1a0d97dd28
HVV: disable lines() 🐛 2020-11-28 11:40:51 +01:00
Jannis R
9d8260bf5f add lines() 2020-11-28 11:25:43 +01:00
Jannis R
ed48971fb1 add remarks() 2020-11-28 11:25:43 +01:00
Jannis R
11ca3b171a add tripsByName() method, docs 📝
docs
2020-10-06 22:22:30 +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
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02: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
6c5409fbce
extract parseIcon from parseCommon 2020-01-05 18:10:09 +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
5d0096c596
departures: profile flag for getPasslist & stbFilterEquiv 2018-12-30 18:42:05 +01:00
Jannis R
067e807db7 INSA doesn't support refreshJourney 🐛 2018-07-25 10:05:52 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
1d5f4ff31c parse arrivals 2018-06-26 18:13:41 +02:00
Jannis R
d909be3b65
parseWarning 2018-06-07 18:46:44 +02:00
Jannis R
d2257c26ff
rename d.remarks -> d.hints, parseRemark -> parseHint
HAFAS returns notes for journey legs, stopovers and departures.

There are two kinds of notes: "remarks" (in `remL`) and HAFAS
Information Manager (HIM) notes (in `himL`). The former describe
the regular operating situation, e.g. "bicycles allows", whereas
the latter describe cancellations, construction work, etc.

The planned naming scheme for hafas-client:
- hints: notes from `remL` for regular operation
- warnings: notes from `himL` for cancellations, construction, etc
- remarks: both "notes" and "warnings"

This commit prepares the new naming scheme by renaming the
existing parsing logic of `remL` to "hints". Follow-up commits
will add `parseWarning`.
2018-06-07 16:34:50 +02:00
Jannis R
deefeb1f64 add parsePolyline to default profile 2018-05-24 10:26:24 +02:00
Jannis R
4533a70c41
writing a profile guide: minor improvements 2018-03-15 01:35:01 +01:00
Jannis R
0c3e3cb0cf
journeys collection as an option 2018-03-08 03:28:17 +01:00
Jannis R
6f958e14be
mic & mac calculation
thanks to @alexander-albers!
see https://github.com/schildbach/public-transport-enabler/issues/187#issuecomment-357436079
2018-01-15 00:47:16 +01:00
Jannis R
904f890442
move checksum calculation to lib/request 2018-01-15 00:45:05 +01:00
Jannis R
8985f8ccd2
rename journey.parts -> journey.legs 2017-12-28 17:13:02 +01:00
Jannis R
965d5393ef
accessibility filters for every profile 2017-12-18 20:01:12 +01:00
Jannis R
eacbd8ef01
validate profile 2017-12-12 03:32:07 +01:00
Jannis R
2e113d9520
expose only supported methods, fix test helpers 🐛 2017-11-27 20:33:34 +01:00
Jannis R
3fb0943680
query live movements in an area 2017-11-20 20:19:13 +01:00
Jannis R
33417a6e61
query journey parts 2017-11-20 16:58:45 +01:00
Jannis R
e762f30f05
VBB-related bugfixes and changes 🐛 2017-11-20 15:25:15 +01:00
Jannis R
2c2826217e
query journeys 2017-11-12 20:02:32 +01:00
Jannis R
c20fd35c67
formatters: add location, change address & poi 2017-11-12 19:54:54 +01:00
Jannis R
eb98123e5b
move out default profile, bugfixes 🐛 2017-11-12 18:06:01 +01:00