On the API level, further discussion on this feature should be done at https://github.com/derhuerst/vbb-hafas/issues/19 .
Read the statement by Michael Teeuw here.
Posts made by derhuerst
-
RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)
-
RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)
just a small reminder for those who want to have direction filtering. in berlin, there’s no machine-readable information about directions in the data that VBB provides.
as an example, take U2:
- in the west, it may end at ruhleben, theodor-heuss-platz
- in the east, it may end at bülowstr, spittelmarkt, pankow
this is without more complicated construction work.
the best way to indicate a direction you want to get departures for is the next station after yours. @Beh we can try to implement this somehow, not sure wether in the API or in your magic mirror client.
-
RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)
hey folks!
i am the developer and maintainer of the (inofficial) REST API for Berlin & Brandenburg public transport at
vbb.transport.rest
(previouslytransport.rest
). I would like to clarify a few things.First of all: I’m not involved with MagicMirrors projects in any way, I just noticed that a lot of you are using my API.
If you haven’t updated your setup for a while, please do so. I shut off the old endpoint
transport.rest
in favour of the newvbb.transport.rest
a while ago.@Beh I wrote a JavaScript client for DB that should be mostly compatible with the VBB one, give it a shot! It should be possible to adapt the magic mirror to use it, if someone can run an API server for it. See https://github.com/derhuerst/db-hafas
If you are interested in DB station IDs, I automatically compile a list from the 3 APIs DB provides, but it is not complete. See https://github.com/derhuerst/db-stations