Commit graph

88 commits

Author SHA1 Message Date
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
581a47510d
profiles' examples: fixes, minor tweaks 🐛📝
- hafas.station() -> hafas.stop() 🐛
- put stop IDs into variables
- .then/.catch -> async/await
- consistent order of methods
- minor reformatting for readability
2023-07-28 21:35:59 +02:00
Jannis R
5910d62535
docs: make user agent instructions more specific & actionable 📝
related: #286
2023-03-14 20:58:17 +01:00
Kristjan ESPERANTO
d8805d9ea3
docs: fix profile imports in code examples 📝
closes #278
2022-11-22 21:09:06 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
30cb1f3d28
trip: remove lineName parameter, update integration test fixtures 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
7b0374695a
VBB: remove vbb-parse-line 💥 2022-11-17 15:17:01 +01:00
Jannis R
673d6f8279
VBB: remove vbb-parse-ticket, adapt to new response format 💥 2022-11-17 15:17:01 +01:00
Jannis R
d2bc134645
VBB: don't shorten stop/station names 💥 2022-11-17 15:17:01 +01:00
Jannis R
5ecf03f349
VBB: don't convert 7/9 <-> 12 digit IDs 💥 2022-11-17 15:17:01 +01:00
Jannis R
a81e550f2a
departures{GetPasslist,StbFltrEquiv}: default to false 💥 2022-11-17 15:17:01 +01:00
Jannis R
c88179777d
put todos 2022-10-24 17:29:23 +02:00
Jannis R
7e1f7ed4ee
BVG/VBB: parse stop DHIDs 2022-04-26 22:08:23 +02:00
Jannis R
ca75c4407d
adapt VBB profile to server changes 2021-09-21 14:32:16 +02:00
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
Jannis R
731d9b8b81 profile flag for remarks() 2020-11-28 11:25:43 +01: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
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
cda96b6698
improve docs 📝
[ci skip]
2020-03-18 21:34:43 +01:00
Jannis R
ff2b677812
VBB: only expand 9* stop IDs to 12 digits 🐛
This broke stop IDs like 8080560 (Halle Dessauer Brücke) before.
2020-03-07 00:59:09 +01:00
Jannis R
9b0e55c6ad
VBB: accept station IDs with unknown length 🐛 2020-01-31 19:54:18 +01:00
Jannis R
9fc6664302
adapt profiles to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
9a89cd0dc8
profile-based whitelist for walkingSpeed 2020-01-05 17:50:56 +01:00
Jannis R
b3d75b567d
fix parseWarning 🐛 2019-05-27 16:33:01 +02:00
Jannis R
a972dad7b8
departures/arrivals, locations, nearby, stop: opt.stationLines -> linesOfStops 💥 📝 2019-02-28 16:45:18 +01:00
Jannis R
b2b2d11dfe
adapt docs to fcc53b5 📝
[ci skip]
2019-02-28 16:44:59 +01:00
Jannis R
0daa1c5fef
adapt docs & examples to 96ff59d 📝 2019-02-28 16:44:36 +01:00
Jannis R
8b87868fba
adapt docs & examples to bad0af8 📝 2019-02-28 16:44:10 +01:00
Jannis R
d11b60bbd1
minor changes in readme, profile examples
[ci skip]
2018-12-10 14:38:21 +01:00
Jannis R
c6b7aa74dd
VBB supports numF again 2018-09-25 20:19:06 +02: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
8a45d26fda add docs for refreshJourneys (c88071f) 📝 2018-07-25 10:05:52 +02:00
Jannis R
f20931b6de adapt docs & examples to 0a0cddc 📝 2018-07-24 18:29:31 +02:00
Jannis R
a475f2048d parse stops and their stations 2018-07-13 16:07:23 +02:00
Jannis R
4a454917dd rename profile.journeyLeg to profile.trip 💥 2018-07-07 21:19:28 +02:00
Jannis R
a187f8ee97 adapt examples to e1bdd56 📝 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
665bed9f79 rename location(id) -> station(id) 💥
see #17 for reasons
closes #17
2018-06-10 14:47:29 +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
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