# dsbclient

> 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.

Latest version **1.3.1** (published 2017-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install dsbclient
pnpm add dsbclient
yarn add dsbclient
bun add dsbclient
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2017-08-05 |
| First published | 2017-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Nils Bergmann |
| Maintainers | noim |

## Links

- npm: https://www.npmjs.com/package/dsbclient
- npm.io page: https://npm.io/package/dsbclient

## Dependencies (8)

- [datejs](https://npm.io/package/datejs.md) ^1.0.0-rc3
- [dsbapi](https://npm.io/package/dsbapi.md) ^2.1.0
- [moment](https://npm.io/package/moment.md) ^2.18.1
- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.2
- [request](https://npm.io/package/request.md) ^2.81.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.0
- [percentage-calc](https://npm.io/package/percentage-calc.md) ^0.0.1
- [request-progress](https://npm.io/package/request-progress.md) ^3.0.0

## Recent versions

- 1.3.1 (latest) — 2017-08-05
- 1.3.0 — 2017-08-05
- 1.2.1 — 2017-08-01
- 1.2.0 — 2017-06-19
- 1.1.4 — 2017-06-18
- 1.1.3 — 2017-06-18
- 1.1.2 — 2017-06-18
- 1.1.1 — 2017-06-18
- 1.1.0 — 2017-06-18
- 1.0.1 — 2017-06-17
- 1.0.0 — 2017-06-17

## README

# DSB Client

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.

### Filters for: 

- timetable 
- news 
- tiles

### Install
```bash
yarn add dsbclient
# OR
npm install dsbclient --save
``` 

### Usage:

New import key

```javascript  
import Client from 'dsbclient';
const client = new Client(USERNAME, PASSWORD);

client.fetch() => Returns Promise

```  

Old way  

```javascript  
const Client = require('dsbclient');
const client = new Client(USERNAME, PASSWORD);

client.fetch() => Still returns Promise
```

---
_Source: https://npm.io/package/dsbclient · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
