Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shameless plug: use db-hafas #1

Open
derhuerst opened this issue Oct 28, 2019 · 0 comments
Open

shameless plug: use db-hafas #1

derhuerst opened this issue Oct 28, 2019 · 0 comments

Comments

@derhuerst
Copy link

db-hafas is a client for the HAFAS mobile API of Deutsche Bahn. You can use it to query departures, including their delays. Because it talks to a machine-readable API, it should be a lot more reliable than scraping the website.

In kennell/schiene#1 (comment), we've discussed on how you can use it with a language other than JS: spawn hafas-client-rpc with the stdin/stdout transport and send JSON-RPC from your Java code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant