Commit graph

257 commits

Author SHA1 Message Date
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
479bac428f
parse fn signatures: bugfix 🐛 2018-06-26 12:25:30 +02:00
Jannis R
b02f012b18
parse fn signatures: bugfixes 🐛 2018-06-26 11:48:30 +02:00
Jannis R
f60bebd5ae
VBB: strip "Bus " & "Tram " from line names 2018-06-20 23:25:21 +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
f3d8304db8 INSA, Nah.sh: HTTPS 🔒 2018-05-30 16:05:05 +02:00
Jannis R
1bb1ce4f8b
merge next into tests-rewrite 2018-05-30 14:22:23 +02:00
Jannis R
187d2ac04e Nah.sh: enable radar despite failing test
see #34 for more details
2018-05-25 16:08:17 +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
16c3f01118
DB: 1.16 protocol, enable journeyLeg, 2.8.0
Although `journeyLeg()` can be unreliable for DB (#49), I enabled
it here. This is not a breaking change because, previously, you
were not able to use `journeyLeg()` in the first place. Let's hope
that it works for people. 🙈

By changing to the 1.16 protocol, we support the `polyline` option
of `journeyLeg()` as well.
2018-05-24 13:50:53 +02:00
Jannis R
908d53189a
DB journeys: fix polylines parsing 🐛, 2.7.5 2018-05-24 13:44:47 +02:00
Jannis R
5cea7e47e4
merge next into tests-rewrite 2018-05-13 00:05:10 +02:00
Jannis R
bdc23c64e2
cherry-pick c60213a 2018-05-07 12:34:56 +02:00
Jannis R
2623fc44c6
merge master into next 2018-05-07 11:53:55 +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
c60213a135
DB: tram mode should be train 🐛 2018-04-24 17:04:55 +02:00
Jannis R
3d69ae225d
DB: tram mode should be train 🐛 2018-04-24 16:59:35 +02:00
Jannis R
b364269041
Nah.sh: enable radar despite failing test
see #34 for more details
2018-04-23 16:30:57 +02:00
Jannis R
e87ccf5a3b
DB: add currency to price 🐛, enable journeyLeg 2018-04-19 15:21:49 +02:00
Jannis R
4fd7108ec6
VBB: strip "Tram " from line names 2018-03-31 14:03:23 +02:00
Jannis R
046b8c4117
VBB: strip "Bus " from line names 2018-03-29 23:17:50 +02:00
Jannis R
87ec80d404
NAH.SH: use new products markup 🐛 2018-03-21 01:54:31 +01:00
Jannis R
ec0c283bf4
merge master into next 2018-03-19 21:18:53 +01:00
Jannis Redmann
7aba19f137
merge pull request #32 from refactor-products
new products markup
2018-03-18 13:22:24 +01:00
Julius Tens
61325bdb13 code style 2018-03-18 13:01:07 +01:00
Julius Tens
269a2524fb fix code commentary 🐛 2018-03-18 13:00:16 +01:00
Julius Tens
cee3a78d8e code style, refactor removal of trailing zeroes 2018-03-18 00:48:47 +01:00
Jannis R
ca6e5a0d54
NAH.SH: remove unnecessary headers, skip radar test 2018-03-17 17:27:43 +01:00
Jannis R
0987383c72
merge master into nah.sh 2018-03-17 17:21:18 +01:00
Jannis R
787b00228e
let parseStopover use parseStationName 🐛 2018-03-17 16:47:34 +01:00
Jannis R
6ba617b1bc
let parseMovement use parseStopover 🐛 2018-03-17 16:47:31 +01:00
Jannis R
89060afc8d
adapt docs and examples to 40b559f 📝 2018-03-16 17:28:52 +01: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
Julius Tens
2aa9dfdd45 support pricing information 2018-03-15 09:33:31 +01:00
Julius Tens
44c57db03c add profile and tests for nah.sh 2018-03-14 14:54:08 +01:00
Jannis R
828ef4ad47
DB: add missing taxi mode 🐛 2018-03-13 21:45:42 +01:00
Jannis R
4fae4efbcb
stupid mistake 🐛 2018-03-13 21:12:46 +01:00
Jannis R
c123d9e451
INSA: enable radar 2018-03-13 21:06:27 +01:00
Jannis R
ba97275bae
INSA: enable journeyLeg 2018-03-13 21:04:42 +01:00
Jannis R
68bf199673
aand another 🐛 2018-03-13 19:45:44 +01:00