diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-08-21 08:58:17 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-08-21 08:58:17 +0200 |
commit | 76c1bffa6c8eef6f9579131d33fc761aee87231c (patch) | |
tree | 189dce1451e4045f3c479b685553cccb38d8607f | |
parent | da443ee2f6605d7f80305bcf2bcceadd73c052a5 (diff) |
train utilization API: marudor.de -> bahn.expert4.10.4
-rw-r--r-- | lib/DBInfoscreen/Helper/Marudor.pm | 2 | ||||
-rw-r--r-- | templates/about.html.ep | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/DBInfoscreen/Helper/Marudor.pm b/lib/DBInfoscreen/Helper/Marudor.pm index 8b2e5b2..329c017 100644 --- a/lib/DBInfoscreen/Helper/Marudor.pm +++ b/lib/DBInfoscreen/Helper/Marudor.pm @@ -151,7 +151,7 @@ sub get_train_utilization { = url_escape( encode( 'utf-8', decode( 'iso-8859-15', $next_station ) ) ); $self->get_json_p( $self->{realtime_cache}, -"https://marudor.de/api/hafas/v2/auslastung/${this_station}/${next_station}/${train_no}/${dep}" +"https://bahn.expert/api/hafas/v2/auslastung/${this_station}/${next_station}/${train_no}/${dep}" )->then( sub { my ($utilization_json) = @_; diff --git a/templates/about.html.ep b/templates/about.html.ep index f601cc7..df5d3e6 100644 --- a/templates/about.html.ep +++ b/templates/about.html.ep @@ -37,7 +37,7 @@ % else { • Karte: DB HAFAS via <a href="https://github.com/public-transport/hafas-rest-api">hafas-rest-api</a><br/> % } - • Zugauslastung Fernverkehr: DB HAFAS via <a href="https://docs.marudor.de/">marudor.de</a><br/> + • Zugauslastung Fernverkehr: DB HAFAS via <a href="https://docs.bahn.expert/">bahn.expert</a><br/> • Zugauslastung Regionalverkehr: VRR EFA via <a href="https://github.com/derf/eva-to-efa-gw">eva-to-efa-gw</a><br/> <br/> Sie nutzt zusätzlich die folgenden Open Data-Ressourcen:<br/> |