juliuste / bahn.guru Goto Github PK
View Code? Open in Web Editor NEWDeutsche Bahn ticket price calendar.
Home Page: https://bahn.guru
License: ISC License
Deutsche Bahn ticket price calendar.
Home Page: https://bahn.guru
License: ISC License
I'd like to be able to limit my search requests to specific days I travel within a timeframe, which isn't so clear to be choosable or can't be chosen right now.
I'd like to be able to choose (e. g.):
2. Klasse, Bahncard: --, ab: --:-- Uhr bis: --:-- Uhr (Abfahrtszeit) am: TT.MM. (Abfahrtstag), ab: --:-- Uhr bis: --:-- Uhr (Ankunftszeit) am: TT.MM. (Ankunftstag), max. 24 h Fahrzeit, max. ∞ Umstiege, max. 1:05 Std. Aufenthalt (pro Bahnhof), max. 1:05 Std. Aufenthalt (gesamt).
Frühester Abfahrtstag: TT.MM., spätester Ankunftstag: TT.MM.; max. Preis: 40 €
Sometimes they could/may be contradictory, so maybe not all six time options should be chosen at the same time. ;-)
I'm sure that limiting the search/finding options leads to a faster response time of the result(ing) page ;-)
Would it be too far in excess of the scope of this project to include which type of train (not) to choose?
PS: Many questions and ideas, maybe too many for one single issue…?
i like to order it by column (for example start time)
seems like it's utc instead of berlin
First things first: bahn.guru helps me a lot finding routes and prices, I love it!
Recently I was looking up connections from Hannover to Domodossla. bahn.guru relies on the "old" booking platform where prices are considerably higher compared to Next DB.
bahn.guru actually doesn't even provide prices for the date above
It would be great if this could get fixed!
Can we realize a checkbox/option for disabling "preferFastRoutes" when making API Calls from db-prices?
Why is this necessary?
Example: When going from Munich -> Berlin, there is either a ICE going the fastest route via Nuremberg and there is one slightly slower ICE that travels via Augsburg to Berlin. Most of the time, the slightly slower ICE is cheaper than the faster ICE, mainly because most search queries enable "preferFastRoutes" and people usually are not aware of the slightly slower connection.
So if time is not your main focus by travelling with deutsche bahn, this option could get you some cheaper travels in some cases.
Hey I would like to share my DB bookings with my family. Ideally in a calendar feed format like iCal or ICS. Are you aware of anything that could provide that functionality?
And please excuse me posting that here. Maybe someone in this community knows...
Do you think it would be possible to add an option that avoids connections that start on one day and arrive on the next? I think that would be convenient in addition to the maximum number of changes allowed and the maximum travel time...
It would be great to include an option to include Super Sparpreis Young tickets for <27 y/o people?
Currently they are excluded, even though they are often a lot cheaper.
See:
https://www.bahn.de/p/view/angebot/aktionsangebote/super-sparpreis-young.shtml
The site doesn't really work on mobile devices (or any devices that have a non-standard-pc screen size). Sadly, I don't have the time and - even worse - the skill to craft a responsive layout, so if anyone wants to help: Feel free to PR, I'd really appreciate it!
Hi! Why it's only possible to search in the next month? Really cheap (and still available) are tickets like 6 weeks in advance (at least for my Berlin - Interlaken route)
Hi,
your Cert for bahn.guru went invalid this morning ;)
https://bahn.guru/ is currently down!
It returns a 404.
There is yet another Sparpreis for BahnBonus people on a dedicated website:
https://www.bahn.de/service/bahnbonus/bahnbonus-tickets
Maybe you could include that?
I recently shared bahn.guru on Slack and was surprised that it did not show the typical preview image and text. I would therefore propose to add some opengraph tags to let the site gain even more traction on social media and eventually take over the world. 😈 🚌
Would you be happy with that? If so I'd gladly provide a PR.
It would be nice, if one could display the inverse connection at the same time.
Use case is:
I want to go to Berlin from Frankfurt sometime in the next month for three days.
Show me at one gasp, what times have good conditions.
A simple solution is to simply show it as a second graphic, or to insert it into the current one.
Hey, looks like the site is down.
If you get a chance to investigate that'd be cool.
Cheers, and thanks for the cool project!
Hi! It seems that the links directing to the Deutsche Bahn website don't work anymore. I think they changed the booking website on the first of April and now deeplinks are dead/redirect to the booking portal.
I think it would be nice to add a button to interconvert the departure and arrival locations. This is useful when I am searching for a round trip. After looking up prices for the outbound trip I would select Anfrage ändern
to get back to the search form. There I would just click the not-yet-existing switch button.
Here is an screenshot from bahn.de indicating the switch button:
Connection timed out...
The following request
https://bahn.guru/day?origin=Berlin%20Hbf&destination=LYON&class=2&age=A&date=26.09.2023
generates a price of 69,90 EUR for Berlin Hbf through Erfurt and Baden-Baden to LYON from 9:34 to 19:56.
The search on bahn.de directly yields a price tag of 112,90 for that connection, however:
Any idea what's going wrong?
bahn.guru
should, if requested with invalid query parameters, return a 400 Bad Request
and maybe redirect to /
. This let's browsers not cache the URL, the form input. It also tells crawlers & bots that they're requesting an invalid page.
Minimum price might mislead.
See a month where most days show 19 EUR.
Some days carry most fares at 19 EUR.
Other days carry most fares a multiple of 19 EUR (yet there is a single weird connection of 19 EUR).
Just my bits…
E.g. Vienna-Amsterdam, no connections found
The link: https://bahn.guru/day?origin=HAMBURG&destination=K%C3%96LN&class=1&bc=2&age=Y&date=04.07.2023
What happened here?
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.