Skip to content

Latest commit

 

History

History

dart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

DART profile for hafas-client

Des Moines Area Rapid Transit (DART) is the local transport provider of Des Moines, Iowa, USA. This profile adds DART support to hafas-client.

Note: This profile does not support Dallas Area Rapid Transit (DART) in Dallas–Fort Worth, Texas, USA.

Usage

import {createClient} from 'hafas-client'
import {profile as dartProfile} from 'hafas-client/p/dart/index.js'

const userAgent = 'link-to-your-project-or-email' // adapt this to your project!

// create a client with DART profile
const client = createClient(dartProfile, userAgent)

Check out the code examples.