4.0.0 • Published 6 years ago

vbb-client v4.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

vbb-client

A client for the Berlin & Brandenburg public transport API deployed at 2.vbb.transport.rest. Works both in browsers (using a bundler) and in Node.

architecture

npm version ISC-licensed gitter channel support me on Patreon

Installing

npm install vbb-client

Usage

const vbb = require('vbb-client')()

vbb.journeys('900000003201', '900000024101', {results: 1})
.then(console.log)
.catch(console.error)

With Custom Endpoint

const vbb = require('vbb-client')({
    endpoint: "https://my.local.api",
})

API

vbb-client is a client for the vbb-rest API deployed at 2.vbb.transport.rest. Refer to its API docs for all supported parameters.

It wraps the following routes:

Contributing

If you have a question or have difficulties using vbb-client, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

4.0.0

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

3.0.0-alpha.1

6 years ago

2.1.2

6 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago

0.4.0

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago