Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 687 Bytes

readme.md

File metadata and controls

18 lines (11 loc) · 687 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

const createClient = require('hafas-client')
const cmtaProfile = require('hafas-client/p/cmta')

// create a client with CMTA profile
const client = createClient(cmtaProfile, 'my-awesome-program')

Customisations

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