db-vendo-client/p
Jannis R 5ac8d5f89e
mic & mac part 2, VBB salt
Many thanks to @alexander-albers!
2018-03-02 23:12:47 +01:00
..
db move checksum calculation to lib/request 2018-01-15 00:45:05 +01:00
oebb adapt ÖBB line parsing to d7eca5b4 2018-01-07 17:24:33 +01:00
vbb mic & mac part 2, VBB salt 2018-03-02 23:12:47 +01:00
readme.md minimal profiles docs 📝 2018-01-04 22:37:47 +01: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 journeyLeg) 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…