autobahn-api icon indicating copy to clipboard operation
autobahn-api copied to clipboard

Other road types than Autobahn via the API

Open enr0c opened this issue 1 year ago • 0 comments

Via https://verkehr.autobahn.de/en/karte one can also see for example some closures on 'Landstrassen'. image

Trying out the closure get request via: https://verkehr.autobahn.de/o/autobahn/L3002/services/closure

get us here: {"closure":[{"extent":"8.70678,50.12767,8.72707,50.14473","identifier":"Q0xPU1VSRV9fbWRtLnZpel9fTE1TL3JfRF9fSEVfRkZNLUlHTFovMjEwODgzNDYxODQ1X0xNUy1IRS81NF9PUFAuMA==","routeRecommendation":[],"coordinate":{"lat":"50.144730","long":"8.727070"},"footer":[],"icon":"250","isBlocked":"false","description":["Beginn: 13.11.2023 00:00","Ende: 22.03.2024 23:59","","L3002 Frankfurt am Main, Neebstraße bis Wilhelmshöher Straße","zwischen Eskisehir Platz und Hofhausstraße","in beiden Richtungen Baustelle, Fahrbahnerneuerung, gesperrt, von 13.11.2023 00:00 Uhr bis 22.03.2024 23:59 Uhr","Seckbach, Wilhelmshöher Straße 25 - 47, aufgrund von Grunderneuerung Vollsperrung der Fahrbahn vom 13.11.2023 bis 22.03.2024."],"title":"L3002 | Hofhausstraße - Neebstraße","point":"8.727070,50.144730","display_type":"CLOSURE","lorryParkingFeatureIcons":[],"future":false,"subtitle":"Frankfurt-Bornheim Richtung Frankfurt am Main-Bergen-Enkheim","startTimestamp":"2023-11-13T00:00:00.000+0100"},{"extent":"8.70678,50.12767,8.72707,50.14473","identifier":"Q0xPU1VSRV9fbWRtLnZpel9fTE1TL3JfRF9fSEVfRkZNLUlHTFovMjEwODgzNDYxODQ1X0xNUy1IRS81NC4w","routeRecommendation":[],"coordinate":{"lat":"50.127670","long":"8.706780"},"footer":[],"icon":"250","isBlocked":"false","description":["Beginn: 13.11.2023 00:00","Ende: 22.03.2024 23:59","","L3002 Frankfurt am Main, Neebstraße bis Wilhelmshöher Straße","zwischen Eskisehir Platz und Hofhausstraße","in beiden Richtungen Baustelle, Fahrbahnerneuerung, gesperrt, von 13.11.2023 00:00 Uhr bis 22.03.2024 23:59 Uhr","Seckbach, Wilhelmshöher Straße 25 - 47, aufgrund von Grunderneuerung Vollsperrung der Fahrbahn vom 13.11.2023 bis 22.03.2024."],"title":"L3002 | Neebstraße - Hofhausstraße","point":"8.706780,50.127670","display_type":"CLOSURE","lorryParkingFeatureIcons":[],"future":false,"subtitle":"Frankfurt am Main-Bergen-Enkheim Richtung Frankfurt-Bornheim","startTimestamp":"2023-11-13T00:00:00.000+0100"}]}

Anyone an idea how to retrieve from the API maybe the list of all roads of Germany (that have closures or warnings)? Not only Autobahnen?

Thanks!

enr0c avatar Jan 08 '24 09:01 enr0c