mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	minor tweaks 📝
This commit is contained in:
		
							parent
							
								
									e3a022972c
								
							
						
					
					
						commit
						4cd0e9d98f
					
				
					 3 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue