minor changes in readme, profile examples

[ci skip]
This commit is contained in:
Jannis R 2018-12-10 14:38:07 +01:00
parent e1f1d0d258
commit d11b60bbd1
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
9 changed files with 9 additions and 9 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -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)