Comments (10)
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.
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:
- use
db-hafas
to query the data - adapt
vbb-rest
to make a REST API - adapt
vbb-client
to fetch from the REST API - 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.
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.
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.
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.
@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.
@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.
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.
see also #9.
from vbb-cli.
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)
- Neither `from` nor `fromLatitude` & `fromLongitude` passed. HOT 1
- API key must be a string. HOT 24
- vbb-dep problem HOT 1
- "Bad Gateway" HOT 5
- products filter not working HOT 4
- write a Deutsche Bahn clone HOT 1
- rename route -> journey
- Problem installing via npm HOT 4
- lines is not defined HOT 3
- Geo location not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vbb-cli.