A module which uses my dsbapi library to filter only for the important information returned by the getData() Method.
- timetable
- news
- tiles
yarn add dsbclient
# OR
npm install dsbclient --save
New import key
import Client from 'dsbclient';
const client = new Client(USERNAME, PASSWORD);
client.fetch() => Returns Promise
Old way
const Client = require('dsbclient');
const client = new Client(USERNAME, PASSWORD);
client.fetch() => Still returns Promise