mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
19 lines
537 B
Markdown
19 lines
537 B
Markdown
|
# INSA profile for `hafas-client`
|
||
|
|
||
|
The [Nahverkehr Sachsen-Anhalt (NASA)](https://de.wikipedia.org/wiki/Nahverkehrsservice_Sachsen-Anhalt) offers [Informationssystem Nahverkehr Sachsen-Anhalt (INSA)](https://insa.de) to distribute their public transport data.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const insaProfile = require('hafas-client/p/insa')
|
||
|
|
||
|
// create a client with INSA profile
|
||
|
const client = createClient(insaProfile)
|
||
|
```
|
||
|
|
||
|
|
||
|
## Customisations
|
||
|
|
||
|
- parses *INSA*-specific products (such as *Tourism Train*)
|