mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
adapt profile docs to 5d9d738
📝
This commit is contained in:
parent
96c1df5c3a
commit
e20f65823b
5 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ const createClient = require('hafas-client')
|
||||||
const dbProfile = require('hafas-client/p/db')
|
const dbProfile = require('hafas-client/p/db')
|
||||||
|
|
||||||
// create a client with DB profile
|
// create a client with DB profile
|
||||||
const client = createClient(dbProfile)
|
const client = createClient(dbProfile, 'my-awesome-program')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ const createClient = require('hafas-client')
|
||||||
const insaProfile = require('hafas-client/p/insa')
|
const insaProfile = require('hafas-client/p/insa')
|
||||||
|
|
||||||
// create a client with INSA profile
|
// create a client with INSA profile
|
||||||
const client = createClient(insaProfile)
|
const client = createClient(insaProfile, 'my-awesome-program')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ const createClient = require('hafas-client')
|
||||||
const nahshProfile = require('hafas-client/p/nahsh')
|
const nahshProfile = require('hafas-client/p/nahsh')
|
||||||
|
|
||||||
// create a client with NAH.SH profile
|
// create a client with NAH.SH profile
|
||||||
const client = createClient(nahshProfile)
|
const client = createClient(nahshProfile, 'my-awesome-program')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ const createClient = require('hafas-client')
|
||||||
const oebbProfile = require('hafas-client/p/oebb')
|
const oebbProfile = require('hafas-client/p/oebb')
|
||||||
|
|
||||||
// create a client with ÖBB profile
|
// create a client with ÖBB profile
|
||||||
const client = createClient(oebbProfile)
|
const client = createClient(oebbProfile, 'my-awesome-program')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ const createClient = require('hafas-client')
|
||||||
const vbbProfile = require('hafas-client/p/vbb')
|
const vbbProfile = require('hafas-client/p/vbb')
|
||||||
|
|
||||||
// create a client with VBB profile
|
// create a client with VBB profile
|
||||||
const client = createClient(vbbProfile)
|
const client = createClient(vbbProfile, 'my-awesome-program')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue