Closed extroversiv closed 3 years ago
looks correct to me. Seems that they've change id
the endpoint should now work correctly again, thanks for the hint.
(sorry for hijacking this Issue)
I would like to point out that there is another BVG API that has been very stable in the past years: The HAFAS API used by the mobile app. It provides all the data that their app shows, and is reasonably well reverse-engineered by now.
There are several open source HAFAS API clients:
public-transport-enabler
– written in Java, supports many endpoints, but not so many fields & featureshafas-client
(disclaimer: written by me) – JavaScript with support for other languages via JSON-RPC, supports just HAFAS mobile APIs but many fields & featureskpublictransport
– written in C++, wide scope like public-transport-enabler
, actively developedpyhafas
– written in Python, closely modelled after hafas-client
, doesn't support many fields & features yetpublic-transport-enabler
AFAIR all of these support the BVG endpoint out-of-the-box.
Hi there, I think in actualdeparture.py the api endpoint for realtime needs to be changed to ACTUAL_API_ENDPOINT = 'https://mobil.bvg.de/Fahrinfo/bin/stboard.bin/dox?ld=0.1&boardType=depRT' With the provided url 'https://mobil.bvg.de/Fahrinfo/bin/stboard.bin/dox?ld=0.1' it returns the planned (scheduled) and not the actual times. Or am I using it wrong? Michael