mfdz / thingsboard-to-parkapi Goto Github PK
View Code? Open in Web Editor NEWAdapter code to convert the city of Herrenberg's free car parking spaces to ParkAPI format
Adapter code to convert the city of Herrenberg's free car parking spaces to ParkAPI format
The page https://www.herrenberg.de/de/Stadtleben/Erlebnis-Herrenberg/Service/Parkplaetze contains the (static) list of parking spaces in Herrenberg.
We want to add it to our list of dynamically updated parking spots in Herrenberg. That's why want to extract the data from the above web site and convert it to JSON.
Acceptance criteria
Values should be ‚no/yes/opening_hours like string‘
That is to comply withOSM tagging and not to introduce a new scheme.
For parkings where charge is know, this may be provided as well (see OSM wiki)
We currently use camelCase like e.g. openingHours internally while ParkAPI should use OSM like snake case (opening_hours). Please harmonize these.
Depending on opening hours, state should be open or closed. See schema.
The ParkAPI city.json schema currently does neither support opening_hours nor fees. We should ask them to add these to the schema. Additionally, I'd like to add a new attribute to provide additional notices to customers, like e.g. upcoming events/opening hour changes etc.
The lot_types Park-Carpool/Park-Ride don't fit in the (German) naming schema for the other lot types.
In my opinion, upstream should agree on (English) enum values.
As every change would require adopting clients, this would be a breaking change and be handled with care. For now we leave as is implemented, but should discuss this issue with the ParkAPI project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.