Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 630 Bytes

readme.md

File metadata and controls

20 lines (12 loc) · 630 Bytes

INSA profile for hafas-client

The Nahverkehr Sachsen-Anhalt (NASA) offers Informationssystem Nahverkehr Sachsen-Anhalt (INSA) to distribute their public transport data.

Usage

const createClient = require('hafas-client')
const insaProfile = require('hafas-client/p/insa')

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

// create a client with INSA profile
const client = createClient(insaProfile, userAgent)

Customisations

  • parses INSA-specific products (such as Tourism Train)