db-vendo-client/p
2018-12-06 11:35:48 +01:00
..
bvg profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
cmta profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
db profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
insa profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
nahsh profiles: enable reachableFrom 2018-09-03 16:43:01 +02:00
oebb ÖBB radar(): don't filter out stops 🐛 2018-12-06 11:35:48 +01:00
sbahn-muenchen S-Bahn Munich: switch to 1.18 protocol 2018-12-06 11:31:28 +01:00
vbb VBB supports numF again 2018-09-25 20:19:06 +02:00
readme.md adapt examples to e1bdd56 📝 2018-07-07 21:19:28 +02:00

Profiles

This directory contains specific customisations for each endpoint, called profiles. They parse data from the API differently, add additional information, or enable non-default methods (such as trip) if they are supported.

Each profile has it's own directory. It will be passed into hafas-client and is expected to be in a certain structure:

const createClient = require('hafas-client')
const someProfile = require('hafas-client/p/some-profile')

// create a client with the profile
const client = createClient(dbProfile)

// use it to query data…