mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
Add readme for DB Busradar NRW profile and add entry in profile overview
This commit is contained in:
parent
46eadcfde6
commit
00b184df36
2 changed files with 20 additions and 0 deletions
19
p/db-busradar-nrw/readme.md
Normal file
19
p/db-busradar-nrw/readme.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# DB Busradar NRW profile for `hafas-client`
|
||||
|
||||
[*DB Busradar NRW*](https://www.bahn.de/westfalenbus/view/fahrplan/busradar.shtml) is a mobile application used in [North Rhine-Westphalia](https://en.wikipedia.org/wiki/North_Rhine-Westphalia).
|
||||
It shows realtime locations and arrival/departure information for vehicles operated by bus companies which are part of [DB Regio Bus](https://www.dbregio.de/db_regio/view/wir/bus.shtml) in NRW, namely:
|
||||
- [BVR Busverkehr Rheinland GmbH](https://www.rheinlandbus.de/) (DB Rheinlandbus)
|
||||
- [WB Westfalen Bus GmbH](https://www.westfalenbus.de/) (DB Westfalenbus)
|
||||
- [BVO Busverkehr Ostwestfalen GmbH](https://www.ostwestfalen-lippe-bus.de) (DB Ostwestfalen-Lippe-Bus)
|
||||
|
||||
This profile adapts `hafas-client` to the HAFAS endpoint used by the application.
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const createClient = require('hafas-client')
|
||||
const dbbusradarnrwProfile = require('hafas-client/p/db-busradar-nrw')
|
||||
|
||||
// create a client with DB Busradar NRW profile
|
||||
const client = createClient(dbbusradarnrwProfile, 'my-awesome-program')
|
||||
```
|
|
@ -16,6 +16,7 @@ HAFAS endpoint | wrapper library | docs | example code | source code
|
|||
[Société Nationale des Chemins de Fer Luxembourgeois (CFL)](https://en.wikipedia.org/wiki/Société_Nationale_des_Chemins_de_Fer_Luxembourgeois) | - | [docs](p/cfl/readme.md) | [example code](p/cfl/example.js) | [src](p/cfl/index.js)
|
||||
[Hamburg public transport (HVV)](https://en.wikipedia.org/wiki/Hamburger_Verkehrsverbund) | - | [docs](p/hvv/readme.md) | [example code](p/hvv/example.js) | [src](p/hvv/index.js)
|
||||
[*Nordhessischer Verkehrsverbund (NVV)*](https://en.wikipedia.org/wiki/Nordhessischer_Verkehrsverbund) ([Hesse](https://en.wikipedia.org/wiki/Hesse)) | - | [docs](p/nvv/readme.md) | [example code](p/nvv/example.js) | [src](p/nvv/index.js)
|
||||
*DB Busradar NRW* ([DB Regio Bus](https://en.wikipedia.org/wiki/DB_Regio#Bus_division_(DB_Regio_Bus))) | - | [docs](p/db-busradar-nrw/readme.md) | [example code](p/db-busradar-nrw/example.js) | [src](p/db-busradar-nrw/index.js)
|
||||
|
||||
There are also client libraries that use the library, but contain their own customisations:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue