/1BahnQL

Single unified API for all DBOpenData APIs implemented with GraphQL.

Primary LanguageJavaScriptMIT LicenseMIT

1BahnQL

Single unified API for all DBOpenData APIs implemented with GraphQL. We implemented the following APIs: StaDa, FaSta, TimeTables, Flinkster, CallABike, ParkplätzeAPI, ReiseCenter

GraphiQL Playground

1BahnQL GraphiQL

Usage

Install

npm install

Run

DBDeveloperAuthorization=<Your DBOpenData Athetication Token> node index.js

Optional parameters:

  • DBBaseURL

Heroku Deploy

Deploy

Datenquellen

API:

Statisch:

Root Queries

Verbindungssuche

Textsuche

  • Station
  • Zug

Geosuche

  • Station
  • Bahnsteig
  • Flinkster
  • Call a Bike
  • Parkplätze
  • Zug
  • Fahrstühle / Rolltreppen

ID Access

  • EvaId (Station)
  • DS100 (BetrSt)
  • Zug
  • Flinkster
  • Call a Bike
  • Fahrstühle / Rolltreppen
  • Parkplätze
  • Bahnsteig