dsbclient

v1.3.1
A module which uses my [dsbapi library](https://github.com/TheNoim/DSBAPI) to filter only for the important information returned by the [getData()](https://github.com/TheNoim/DSBAPI#DSB+getData) Method.

DSB Client

A module which uses my dsbapi library to filter only for the important information returned by the getData() Method.

Filters for:

  • timetable
  • news
  • tiles

Install

yarn add dsbclient
# OR
npm install dsbclient --save

Usage:

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
npm i dsbclient

Metadata

  • MIT
  • Whatever
  • Nils Bergmann
  • released 8/5/2017

Downloads

Maintainers