aboutsummaryrefslogtreecommitdiff
path: root/src/shop_map_node5_net.py
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-04-07 23:10:05 +0200
committeruser <user@node5.net>2024-04-07 23:10:05 +0200
commit0d1ba0fc1bc2c64c7aaaf71f98fd96f35b8b1bab (patch)
tree60f40e6546332024d7ee32403e63edb00fd5756d /src/shop_map_node5_net.py
parent8b16fb83788a04e806573ae3f80e28156a99f27b (diff)
add store heatmap
Diffstat (limited to 'src/shop_map_node5_net.py')
-rw-r--r--src/shop_map_node5_net.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shop_map_node5_net.py b/src/shop_map_node5_net.py
index 3be40e2..8ab97bc 100644
--- a/src/shop_map_node5_net.py
+++ b/src/shop_map_node5_net.py
@@ -27,6 +27,11 @@ def chains():
return json.dumps(color_by_name)
+@app.route("/stores.json")
+def stores():
+ return db_handler.get_stores()
+
+
@app.route("/supermarkets.json")
def supermarkets():
return db_handler.get_supermarkets()