db-vendo-client/p/insa/readme.md

21 lines
644 B
Markdown
Raw Normal View History

2018-02-26 22:14:11 +01:00
# 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
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as insaProfile} from 'hafas-client/p/insa/index.js'
2018-02-26 22:14:11 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2018-02-26 22:14:11 +01:00
// create a client with INSA profile
const client = createClient(insaProfile, userAgent)
2018-02-26 22:14:11 +01:00
```
## Customisations
- parses *INSA*-specific products (such as *Tourism Train*)