This commit is contained in:
j.mei7
2022-03-27 15:00:37 +02:00
parent 6bee1fb352
commit 566c974ad6
4 changed files with 77 additions and 64 deletions

9
server.py Normal file
View File

@@ -0,0 +1,9 @@
from flask import Flask
from analyze import get_data
app = Flask(__name__)
@app.route('/analyze/<lon>/<lat>', methods = ['POST', 'GET'])
def analyze(lon, lat):
get_data(lom, lat)
return 'Hello, World!'