juliuste / api.direkt.bahn.guru Goto Github PK
View Code? Open in Web Editor NEWBackend for direkt.bahn.guru
Home Page: https://api.direkt.bahn.guru
License: ISC License
Backend for direkt.bahn.guru
Home Page: https://api.direkt.bahn.guru
License: ISC License
Not sure if this is in the scope of this project, but in countries with a timezone west of Germany (Portugal, UK), the timezone offset seems to be added to the travel durations, e.g., 65 min instead of 5 min. (Example: https://direkt.bahn.guru/?origin=9400674). However, this seems to be a mismatch between the timezones of departures and arrivals coming from db-hafas. So, might be a bit hacky to fix this here.
(The timezone of my browser is GMT, but I don't think this matters.)
Hi,
I'd like to get all the departure from Paris Eurostar Nord, especially the ones to the UK but the API doesn't know this station. But it seems that this station is missing from the dataset. Only Paris Gare du Nord exists, and it doesn't have the Eurostar connection associated.
Thanks again for your amazing dataset !
When I try to search the Munich Central Station (https://direkt.bahn.guru/?origin=8000261), I get the following error: "Oops?!
Unknown error. Please try again in a few moments or contact us, if the issue persists.".
Any possible fix for this issue? Thanks!
Some examplery cities that do not work are Goch and Kleve.
Error: "Leider konnten für die Stadt, die du gesucht hast, keine Verbindungen gefunden werden."
Occasionally, the pop-ups on https://direkt.bahn.guru/ show travel durations that are by 360 h = 15 d too high. These numbers are reproducible.
Examples:
The wrong travel durations seem to come from the API. Without having tracked down the specific cause for this issue, a simple fix might be to filter out these travel times in the reachableForDay
function. Currently, there seems to be no train on the world that runs for more than 206 h.
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.