mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
parent
1551943fdb
commit
a2cd5ba187
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ This version is not fully backwords-compatible. Check out [the migration guide](
|
|||
- 84bce0c `arrivals()`/`departures()`: parse & expose platforms
|
||||
- 85e0bdf `journeys()`: `startWithWalking` option with default `true`
|
||||
- f6ae29c journey legs with `type: 'walking'` now have a `distance` in meters
|
||||
- 1551943 `arrivals()`/`departures()`: `includeRelatedStations` option with default `true`
|
||||
|
||||
### breaking changes 💥
|
||||
|
||||
|
|
|
@ -29,6 +29,9 @@ With `opt`, you can override the default options, which look like this:
|
|||
duration: 10, // show departures for the next n minutes
|
||||
stationLines: false, // parse & expose lines of the station?
|
||||
remarks: true, // parse & expose hints & warnings?
|
||||
// departures at related stations
|
||||
// e.g. those that belong together on the metro map.
|
||||
includeRelatedStations: true,
|
||||
language: 'en' // language to get results in
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue