Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Other road types than Autobahn via the API

Aperta
#39 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Inizia con la richiesta di chiusura documentata all’indirizzo verkehr.autobahn.de/o/autobahn/L3002/services/closure e confrontala con la mappa disponibile all’indirizzo verkehr.autobahn.de/en/karte. Traccia il modo in cui questa API accetta gli identificativi stradali e determina se viene esposto un elenco stradale a livello nazionale per chiusure o avvisi. Il lavoro è completato quando l’API può recuperare i dati richiesti per le strade non-Autobahn oppure viene documentata la limitazione supportata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
153
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bundesAPI/autobahn-api

Tutte le issue di bundesAPI/autobahn-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.