Giter Site home page Giter Site logo

Comments (10)

derhuerst avatar derhuerst commented on June 1, 2024 2

I adapted all modules and fixed all the bugs i could find. still, i don't have too much time, but looking more into Deutsche Bahn and other contries with HAFAS would be interesting. @juliuste might also be interested

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

What an awesomething.

Thanks!

How about adding Deutsche Bahn?

Deutsche Bahn data includes urban public transport, but in a really inaccurate way. Also, those two datasets are hard to bring together, since they have different IDs, names, etc.

Getting something like vbb-cli for DB would work like this:

  1. use db-hafas to query the data
  2. adapt vbb-rest to make a REST API
  3. adapt vbb-client to fetch from the REST API
  4. adapt vbb-cli for get a command line client

2 and 3 are optional, as db-cli could use db-hafas directly (having a REST API just makes the client more lightweight).

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

Recently, VBB (urban transport for Berlin) switched to international IDs for the static data and they plan to switch for their API, so hopefully, we'll be able to bring these two together soon!

I'm working on making all my modules compatible with the new IDs, but it takes time.

from vbb-cli.

sixtyfive avatar sixtyfive commented on June 1, 2024

That sounds like awesome news! Sorry that I couldn't do more than open the FR; live just doesn't permit me any side projects atm. May it grant you a little time here and there! 😄

from vbb-cli.

hammer065 avatar hammer065 commented on June 1, 2024

I know several people who would be interested if more cities/regions will be supported.
Also I never noticed any discrepancy between the reality and what the DB-API tells me regarding to urban public transport

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

@hammer065 Writing a separate DB command line client would be entirely possible. But merging both data sources into one client seems infeasible right now.

from vbb-cli.

hammer065 avatar hammer065 commented on June 1, 2024

@derhuerst A separate db-client would be entirely fine though.
You could use vbb-cli to to develop a standard public transport cli, where you can choose which system you wanna use (vbb, DB, etc.).
This could make the system even more modular.

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

You could use vbb-cli to to develop a standard public transport cli, where you can choose which system you wanna use (vbb, DB, etc.).

Not sure this is necessary. Also not sure if people want to install all the dependencies for all public transport agencies only to be able to choose at runtime.

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

see also #9.

from vbb-cli.

derhuerst avatar derhuerst commented on June 1, 2024

Done. hafas-cli contains the general logic to expose a hafas-client@3-compatible API as a command line interface.

from vbb-cli.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.