mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 01:56:33 +02:00 
			
		
		
		
	minor changes in readme, profile examples
[ci skip]
This commit is contained in:
		
							parent
							
								
									e1f1d0d258
								
							
						
					
					
						commit
						d11b60bbd1
					
				
					 9 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -41,6 +41,6 @@ client.journeys('900000003201', '900000024101', {results: 1, polylines: true})
 | 
			
		|||
// 	return client.refreshJourney(journey.refreshToken, {stopovers: true, remarks: true})
 | 
			
		||||
// })
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,6 @@ client.journeys('000002370', '000005919', {results: 1, polylines: true})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,5 +28,5 @@ client.journeys('8011167', '8000261', {results: 1, tickets: true})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
}, console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,6 +34,6 @@ client.journeys('008010226', '008013456', {results: 1})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then(data => {
 | 
			
		||||
	console.log(require('util').inspect(data, { depth: null }))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,6 +29,6 @@ client.journeys('8000103', '8000199', {results: 10, tickets: true})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,6 +34,6 @@ client.journeys('1291501', '8100002', {results: 1})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,6 +44,6 @@ client.departures('8004154', {duration: 5})
 | 
			
		|||
// })
 | 
			
		||||
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,6 @@ client.journeys('900000003201', '900000024101', {results: 1, polylines: true})
 | 
			
		|||
// 	return client.refreshJourney(journey.refreshToken, {stopovers: true, remarks: true})
 | 
			
		||||
// })
 | 
			
		||||
.then((data) => {
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null}))
 | 
			
		||||
	console.log(require('util').inspect(data, {depth: null, colors: true}))
 | 
			
		||||
})
 | 
			
		||||
.catch(console.error)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -185,7 +185,7 @@ The returned [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript
 | 
			
		|||
- [`hafas-record-delays`](https://github.com/derhuerst/hafas-record-delays#hafas-record-delays) – Record delays from hafas-monitor-departures into a LevelDB.
 | 
			
		||||
- [`hafas-estimate-station-weight`](https://github.com/derhuerst/hafas-estimate-station-weight#hafas-estimate-station-weight) – Pass in a HAFAS client, estimate the importance of a station.
 | 
			
		||||
- [`observe-hafas-client`](https://github.com/derhuerst/observe-hafas-client) – Observe all departures/arrivals/etc. returned by `hafas-client`.
 | 
			
		||||
- [`hafas-client-rpc`](https://github.com/derhuerst/hafas-client-rpc) – Make JSON-RPC calls to `hafas-client` via WebSockets.
 | 
			
		||||
- [`hafas-client-rpc`](https://github.com/derhuerst/hafas-client-rpc) – Make JSON-RPC calls to `hafas-client` via WebSockets & stdio.
 | 
			
		||||
- [`hafas-client-health-check`](https://github.com/derhuerst/hafas-client-health-check) – Check if a `hafas-client` instance and its endpoint work.
 | 
			
		||||
- [`hafas-rest-api`](https://github.com/derhuerst/hafas-rest-api#hafas-rest-api) – Expose a HAFAS client via an HTTP REST API.
 | 
			
		||||
- [List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.](https://github.com/public-transport/european-transport-operators)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue