From 0f603d35913066a6812ce566e273389c0d644413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20Vachot?= Date: Mon, 18 Oct 2021 08:41:44 +0200 Subject: [PATCH] Update --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 290d453..0b18452 100644 --- a/app.py +++ b/app.py @@ -63,7 +63,7 @@ def getCity(): # put application's code here return json.dumps(city, indent=INDENT, sort_keys=True) -# TODO Information sur la ville et Ephéméride +# Information sur la ville et Ephéméride @app.route('/ephemeride', methods=['POST', 'GET']) def ephemeride(): # put application's code here if request.method == 'POST': @@ -80,7 +80,7 @@ def ephemeride(): # put application's code here cityEph = json.loads(f.read()) return json.dumps(cityEph, indent=INDENT, sort_keys=True) -# TODO Information sur la ville et Ephéméride +# Information sur les alentours d'une ville @app.route('/around', methods=['POST', 'GET']) def ephemeride(): # put application's code here if request.method == 'POST': @@ -100,7 +100,7 @@ def ephemeride(): # put application's code here return json.dumps(around, indent=INDENT, sort_keys=True) -# TODO Information sur les alentours d'une ville + if __name__ == '__main__':