Commit graph

61 commits

Author SHA1 Message Date
Jannis R
31c4f17b10
ÖBB: change ver to 1.45 🐛
fixes #233
2024-09-26 00:41:29 +02:00
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
a81e550f2a
departures{GetPasslist,StbFltrEquiv}: default to false 💥 2022-11-17 15:17:01 +01:00
Jannis R
f6733d937a
ÖBB: enable lines() 2021-12-02 13:57:03 +01:00
Jannis R
e871c80900
link to FPTF v2 draft spec 📝
fixes #243
2021-08-18 16:00:16 +02:00
Jannis R
62843f79d4 update profile examples 📝
[ci skip]
2021-05-01 10:58:45 +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
dbac565dbe
ÖBB: fix profile by using https: 🐛
fixes #225
2021-03-26 23:38:26 +01:00
Jannis R
7025d3bc01
ÖBB: change ver to 1.33 🐛, enable remarks(), update client info
fixes #213
2021-02-12 23:47:10 +01: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
ee94c651dd
ÖBB: improve onCall product name 2020-06-10 14:59:20 +02:00
Julius Tens
bc30309056 bugfixes: fix undefined variables 🐛 2020-02-27 17:10:03 +01:00
Jannis R
9fc6664302
adapt profiles to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
eb3ffba4fc
make POIs objects with poi: true 💥
fixes #42
2019-02-28 16:45:31 +01:00
Jannis R
fcc2a23fc1
ÖBB journeys: fix opt.results 🐛 2019-02-28 16:45:31 +01: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
bbff1f4c63
movement.nextStops -> movement.nextStopovers 💥 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
e1f1d0d258
ÖBB: fix radar() 🐛, fix radar() test 💚 2018-12-07 16:29:34 +01:00
Jannis R
ae2007c9e2
fix ÖBB 🐛 2018-12-06 11:38:46 +01:00
Jannis R
bcbc366497
ÖBB radar(): don't filter out stops 🐛 2018-12-06 11:35:48 +01:00
Jannis R
09895ce3fb
link to FPTF 1.2.0 📝
[ci skip]
2018-09-22 19:25:01 +02:00
Jannis R
8b572d6184 profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
Jannis R
ffc392b66b
docs: link to FPTF 1.1.1, minor fixes 📝
[ci skip]
2018-08-01 10:05:00 +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
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
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
479bac428f
parse fn signatures: bugfix 🐛 2018-06-26 12:25:30 +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 Redmann
7aba19f137
merge pull request #32 from refactor-products
new products markup
2018-03-18 13:22:24 +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