Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbsystel/1BahnQL
Single unified API for all DBOpenData APIs implemented with GraphQL.
https://github.com/dbsystel/1BahnQL
Last synced: 13 days ago
JSON representation
Single unified API for all DBOpenData APIs implemented with GraphQL.
- Host: GitHub
- URL: https://github.com/dbsystel/1BahnQL
- Owner: dbsystel
- License: mit
- Archived: true
- Created: 2017-05-08T13:02:30.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-18T13:54:10.000Z (over 2 years ago)
- Last Synced: 2024-08-02T05:16:30.405Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 731 KB
- Stars: 104
- Watchers: 12
- Forks: 12
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 1BahnQL
| :bangbang: 1BahnQL is no longer maintained and will be archived. |
|-----------------------------------------|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](https://bahnql.herokuapp.com/graphql)## Usage
### Install
The installation requires node.js as the execution environment as well as npm as the package manager. Then run `npm install` as a command on your commandline interface.### Run
You need an active authentication token to run your personal installation. You can get one on [developer.deutschebahn.com](https://developer.deutschebahn.com). After creating you account you also have to subscribe to desired services by your own.Use your "Zugangstoken" as the DBDeveloperAuthorization Token and run the server:
`DBDeveloperAuthorization= node index.js`
Optional parameters:
- DBBaseURL### Heroku Deploy
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/dennispost/1BahnQL])## Data Sources
Following data sources are currently technically implemented. You need to subscribe to each service at [developer.deutschebahn.com](https://developer.deutschebahn.com) to use them with 1BahnQL.### API based sources:
- [x] Stationen (StaDa)
- [x] Fahrstühle (FaSta)
- [x] Fahrplan (Fahrplan-Free)
- [x] Flinkster
- [x] Betriebsstellen
- [x] Reisezentren
- [x] Parkplätze
- [x] Bahnhofsfotos
- [ ] https://github.com/derhuerst/db-zugradar-client
- [ ] https://github.com/derhuerst/db-hafas
- [ ] https://github.com/derhuerst/generate-db-shop-urls
- [ ] https://github.com/derhuerst/find-db-station-by-name
- [ ] https://github.com/derhuerst/european-transport-modules
- [ ] https://github.com/derhuerst/vbb-lines
- [ ] https://github.com/derhuerst/db-stations### static sources:
- [x] http://data.deutschebahn.com/dataset/data-bahnsteig
- [ ] http://data.deutschebahn.com/dataset/data-bahnsteig-regio
- [ ] http://data.deutschebahn.com/dataset/data-wagenreihungsplan-soll-daten
- [ ] http://data.deutschebahn.com/dataset/luftschadstoffkataster## Root Queries
### Connection Search
tbi
### Stringbased Search
- [x] Station
- [ ] Zug### Geo Search
- [x] Station
- [ ] Bahnsteig
- [x] Flinkster
- [x] Call a Bike
- [x] Parkplätze
- [ ] Zug
- [ ] Fahrstühle / Rolltreppen### ID Access
- [x] EvaId (Station)
- [ ] DS100 (BetrSt)
- [ ] Zug
- [ ] Flinkster
- [ ] Call a Bike
- [ ] Fahrstühle / Rolltreppen
- [x] Parkplätze
- [ ] Bahnsteig