6.0.0 • Published 5 years ago

@datafire/deutschebahn_betriebsstellen v6.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/deutschebahn_betriebsstellen

Client library for Betriebsstellen

Installation and Usage

npm install --save @datafire/deutschebahn_betriebsstellen
let deutschebahn_betriebsstellen = require('@datafire/deutschebahn_betriebsstellen').create();

.then(data => {
  console.log(data);
});

Description

This REST-API enables you to query station and stop infos

Actions

betriebsstellen.get

Get all station and stop infos

deutschebahn_betriebsstellen.betriebsstellen.get({}, context)

Input

  • input object
    • name string: A station name or part of it

Output

betriebsstellen.abbrev.get

Get information about a specific station or stop by abbrevation

deutschebahn_betriebsstellen.betriebsstellen.abbrev.get({
  "abbrev": ""
}, context)

Input

  • input object
    • abbrev required string: Station or stop abbrevation

Output

Definitions

Error

  • Error object
    • code integer
    • message string

Station

  • Station object
    • RB integer: Regional code
    • UIC string: UIC RICS code
    • abbrev string: Abbrevation name of station or halt
    • borderStation boolean: Station is at a country border
    • id integer: Identifying number
    • locationCode string: Primary location code
    • name string: Long name of station or halt
    • short string: Short name of station or halt
    • status string (values: in use, out of service, formerly, planned, study): State of operation
    • timeTableRelevant boolean: Relevant for time table
    • type string (values: Abzw, Anst, Awanst, Bf): Type of station or halt
    • validFrom string: Start date for validity
    • validTill string: End date for validity or null if still valid

StationList

6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago