Skip to content

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

License

Notifications You must be signed in to change notification settings

TheNoim/DSBClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published