db-vendo-client/p/dart/readme.md
2022-11-22 21:09:06 +01:00

17 lines
823 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# DART profile for `hafas-client`
[*Des Moines Area Rapid Transit (DART)*](https://en.wikipedia.org/wiki/Des_Moines_Area_Regional_Transit) is the local transport provider of [Des Moines](https://en.wikipedia.org/wiki/Des_Moines_metropolitan_area), Iowa, USA. This profile adds *DART* support to `hafas-client`.
*Note:* This profile *does not* support [*Dallas Area Rapid Transit (DART)*](https://de.wikipedia.org/wiki/Verkehrsverbund_Vorarlberg) in [DallasFort Worth](https://en.wikipedia.org/wiki/DallasFort_Worth_metroplex), Texas, USA.
## Usage
```js
import {createClient} from 'hafas-client'
import {profile as dartProfile} from 'hafas-client/p/dart/index.js'
// create a client with DART profile
const client = createClient(dartProfile, 'my-awesome-program')
```
Check out the [code examples](example.js).