ParkenDD / ParkAPI2-sources

Data sources for ParkAPI / parkendd.de
MIT License
3 stars 5 forks source link

Improve Jena scraper (now uses api instead of html) #57

Open Mola19 opened 10 months ago

Mola19 commented 10 months ago

Jena has a comprehensive api available at https://opendata.jena.de/dataset/parken

The api supports many features which are not available in v2 yet (basically everything in the docs/schema/parking-site.json besides free specific lots like realtime_capacity_charging),
but also useful features that are not available at all in ParkAPI as far as i can see as pricing.

I have commented out code that is used to parse opening hours since i had already written that for v1. I can delete that if you want. Also did charging hours vanish during the upgrade to v2? I think it would be quite useful.

The geojson is not needed anymore as everything is available in the api.