Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

k-nut/markt-server

Repository files navigation

markt-server build_staus Coverage Status

Server for filtering data for wo-ist-markt.de by opening hours.

Setup:

git clone [email protected]:k-nut/markt-server.git
cd markt-server
virtualenv .
source bin/activate
pip install -r requirements.txt
python app.py

Now you can make requests to http://localhost:5000 that filter by opening hours.

The only endpoint is open_at and needs to be passed parameters city, day, time. An example cal would be: http://localhost:5000/open_at?city=Berlin&day=su&time=18:00

Note: The data was just once stolen from the upstream wo ist markt repository and must be updated manually on change.

This projects uses and includes a copy of osm-opening-hours as that is not available on pip.

Releases

No releases published

Packages

No packages published

Languages