Skip to content

Commit

Permalink
minor tweaks 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jan 13, 2022
1 parent e3a0229 commit 4cd0e9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions p/bvg/example.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict'

const createClient = require('../..')
const vbbProfile = require('.')
const bvgProfile = require('.')

const client = createClient(vbbProfile, 'hafas-client-example')
const client = createClient(bvgProfile, 'hafas-client-example')

// Hauptbahnhof to Charlottenburg
client.journeys('900000003201', '900000024101', {results: 1, polylines: true})
Expand Down
2 changes: 1 addition & 1 deletion p/sncb/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const sncbProfile = {
trip: true,
refreshJourney: true,
radar: true,
reachableFrom: false, // todo: fails with `H9240`
reachableFrom: false, // todo: fails with `H9240` "HAFAS Kernel: Internal error."
}

module.exports = sncbProfile
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ While `hafas-client` itself should work in the browser via a bundler like [Webpa
- [`hafas-find-stations`](https://github.com/derhuerst/hafas-find-stations#hafas-find-stations) – Given a HAFAS client, find all stations in a bounding box.
- [`hafas-collect-departures-at`](https://github.com/public-transport/hafas-collect-departures-at#hafas-collect-departures-at) – Utility to collect departures, using any HAFAS client.
- [`find-hafas-data-in-another-hafas`](https://github.com/derhuerst/find-hafas-data-in-another-hafas#find-hafas-data-in-another-hafas) – Find data from one HAFAS endpoint in the data of another HAFAS endpoint.
- [`hafas-gtfs-rt-feed`](https://github.com/derhuerst/hafas-gtfs-rt-feed) – Generate a [GTFS Realtime (GTFS-RT)](https://developers.google.com/transit/gtfs-realtime/) feed by polling a HAFAS endpoint.
- [`hafas-monitor-trips`](https://github.com/derhuerst/hafas-monitor-trips#hafas-monitor-trips) – Using a HAFAS client, watch all trips in a bounding box.
- [`hafas-monitor-departures`](https://github.com/derhuerst/hafas-monitor-departures#hafas-monitor-departures) – Pass in a HAFAS client, fetch all departures at any set of stations.
- [`hafas-record-delays`](https://github.com/derhuerst/hafas-record-delays#hafas-record-delays) – Record delays from `hafas-monitor-departures` into a LevelDB.
Expand Down

0 comments on commit 4cd0e9d

Please sign in to comment.