Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 772 Bytes

readme.md

File metadata and controls

20 lines (12 loc) · 772 Bytes

CMTA profile for hafas-client

Capital Metropolitan Transportation Authority (CMTA) or CapMetro is a public transportation provider serving Austin, Texas metropolitan area. This profile adds CMTA-specific customizations to hafas-client.

Usage

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

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

// create a client with CMTA profile
const client = createClient(cmtaProfile, userAgent)

Customisations

  • parses CMTA-specific products (such as MetroRapid and MetroRail)