WiiLink24/food-server

Add proper areas

Opened this issue · 0 comments

Currently, we have a ton of hardcoded content in our areas:

food-server/responses.py

Lines 385 to 397 in 335e5c9

@response()
def area_list_only_segments():
return {
"areaList": {
"place": {
"segment": "segment title",
"list": {
"areaPlace": {"areaName": "place name", "areaCode": 2}
},
},
},
"areaCount": 1,
}

We'll need to expand these eventually.