Jannis R
58f183506e
option to parse station lines, default off 💥 , adapt docs 📝
2018-06-28 13:04:03 +02:00
Jannis R
eeb9ec2535
add todos, migrating to 3.x guide, related repos 📝
2018-06-27 11:49:57 +02:00
Jannis R
ac9819b1dd
query arrivals ✨ , docs 📝
2018-06-26 18:13:41 +02:00
Jannis R
1d5f4ff31c
parse arrivals
2018-06-26 18:13:41 +02:00
Jannis R
f5eceafdf3
merge refactor-parse-fns into next
2018-06-26 13:07:06 +02:00
Jannis R
b02f012b18
parse fn signatures: bugfixes 🐛
2018-06-26 11:48:30 +02:00
Jannis R
9305a129a8
journeys: startWithWalking with default true ✨
2018-06-25 18:34:10 +02:00
Jannis R
0db84ce644
merge remarks into next
2018-06-25 13:20:13 +02:00
Jannis R
ebe4fa64d8
opt.passedStations -> opt.stopovers 💥
2018-06-19 08:23:49 +02:00
Jannis R
3e18f5d415
gitignore lockfile, add & remove todos, minor changes
2018-06-13 20:25:56 +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
a45d640272
request fn: opt param 💥
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
665bed9f79
rename location(id) -> station(id) 💥
...
see #17 for reasons
closes #17
2018-06-10 14:47:29 +02:00
Jannis R
fa2cdc5177
pass warnings into parsers, apply warnings to journey legs
2018-06-07 18:48:45 +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
856a751b51
journeys: make opt.departure & opt.arrival mutually exclusive
2018-05-30 16:39:51 +02:00
Jannis R
c82ad234e0
journeys: opt.when -> opt.departure/opt.arrival 💥
2018-05-30 16:39:51 +02:00
Jannis R
6063fa6651
journeys: fix polylines option 🐛
2018-05-24 21:54:25 +02:00
Jannis Redmann
bebb975584
Merge branch 'next' into format-location-err-msg
2018-05-24 10:28:18 +02:00
Jannis R
431574b756
parseJourneyLeg, parseMovement: use parsePolyline 💥 , refactor
2018-05-24 10:26:24 +02:00
Jannis R
0ef03015e0
validate opt.when 💥
2018-05-21 17:10:42 +02:00
Jannis R
0840d69ee9
radar: assert north > south & east > west
2018-05-16 21:53:33 +02:00
Jannis R
c9e77f3050
merge master into next
2018-05-16 19:41:45 +02:00
Jannis R
aa480e01a2
radar: fix polylines parsing 🐛
2018-05-16 00:30:27 +02:00
Jannis R
9a0bfc39a4
radar: polylines option, return polylines
2018-05-15 19:41:08 +02:00
Jannis R
2623fc44c6
merge master into next
2018-05-07 11:53:55 +02:00
Jannis R
71d087aa23
refactor polyline parsing, add todo
2018-05-03 00:17:17 +02:00
Jannis R
37770654e1
journeyLeg: polyline option
2018-05-03 00:17:17 +02:00
Jannis R
7c6e87afff
journey legs: return polylines
2018-05-03 00:17:17 +02:00
Jannis R
49afc8a75b
journeys: polylines option
2018-05-03 00:17:17 +02:00
Jannis R
8ce89f0fe6
formatLocation: more helpful error messages
2018-04-17 18:49:49 +02:00
Jannis R
d96cbfb228
stopover: default arrival & departure fields 🐛 , >= for collecting journeys
2018-03-29 02:45:15 +02:00
Jannis R
005f3f8e4d
remove journey.departure, .arrival, … 💥
...
closes #36
2018-03-21 01:55:31 +01:00
Jannis R
98139f9210
prepare move to public-transport org
2018-03-19 22:34:08 +01:00
Jannis Redmann
7aba19f137
merge pull request #32 from refactor-products
...
new products markup
2018-03-18 13:22:24 +01:00
Jannis R
94988d98c0
yet another fix 🐛
2018-03-18 00:30:54 +01:00
Jannis R
ccd2dc0783
let parseProducts and formatProductsFilter get the real profile 🐛
2018-03-18 00:17:10 +01:00
Jannis R
854b0bd35e
homegrown isObj -> lodash/isObject
2018-03-18 00:13:44 +01:00
Jannis R
ad4d60f3ca
allow for overwriting parseProducts & formatProductsFilter
2018-03-18 00:11:51 +01:00
Jannis R
83cae914a4
fix radar signature 🐛
2018-03-17 20:58:03 +01:00
Jannis R
40b559f80d
radar(n, w, s, e) -> radar({n, w, s, e}) 💥 , adapt tests ✅
2018-03-16 17:28:20 +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
0c3e3cb0cf
journeys collection as an option
2018-03-08 03:28:17 +01:00
Jannis R
084fed729a
remove leftover code 👕
2018-03-05 00:51:55 +01:00
Jannis R
8ae3fe2236
fix journeys collection 🐛
2018-03-05 00:51:11 +01:00
Jannis R
7fd574f0f8
VBB: circumvent CGI_READ_FAILD if numF is used 🐛
2018-03-05 00:23:17 +01:00
Jannis R
869c9a8e98
earlierThan/laterThan options (cherry-picked from next-journeys-by-ref)
2018-03-04 23:41:28 +01:00
Jannis R
b1441d8be6
validate more input
2018-03-02 23:59:39 +01:00