mirror of
https://github.com/DerTyp7/local-analyzer-python.git
synced 2025-10-28 12:02:10 +01:00
9 lines
211 B
Python
9 lines
211 B
Python
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!' |