dbsystel / 1bahnql Goto Github PK
View Code? Open in Web Editor NEWSingle unified API for all DBOpenData APIs implemented with GraphQL.
License: MIT License
Single unified API for all DBOpenData APIs implemented with GraphQL.
License: MIT License
Add possibility to filter for petrol, diesel or electric cars
flinksterCars {
attributes {
transmissionType
fuel (fuelType = "electric")
fillLevel
}
}
{
"name": "Opel Corsa",
"attributes": {
"transmissionType": "manual",
"fuel": "petrol",
"fillLevel": 75
}
}
{
"name": "Citroën C-Zero",
"attributes": {
"transmissionType": "automatic",
"fuel": "electric",
"fillLevel": 68
}
}
{
search(searchTerm: "Flughafen") {
stations {
name
primaryEvaId
facilities {
state
}
}
operationLocations {
name
}
}
}
One folder per module containing a model folder and a service folder
When trying to access the GrapQL-API via the URL provided in the Wiki (https://api.deutschebahn.com/free1bahnql/graphql) I get the following error:
{
"error": {
"code": 900906,
"message": "No matching resource found in the API for the given request",
"description": "Access failure. Unauthorized."
}
}
Test Data -> Model with static data by using mocha & chai
Dear Bahn, please add to routing requests a field for departureDate or arrivalDate.
Documentation should be visible for GraphiQL
On the Developer Portal, there is a Server linked, but it seems to be dead? Are there alternatives?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.