currencies added

This commit is contained in:
Neythen
2021-06-09 19:06:21 +01:00
parent 4470ca6685
commit 0fce80aac1
23 changed files with 155 additions and 49 deletions

View File

@@ -178,6 +178,19 @@ def SetNews():
return hello()
@app.route("/SetWeather", methods=['POST'])
def SetWeather():
text = request.form['text']
#args = ['q', 'sources', 'category', 'country']
f = open( "csv/weather_location.txt", 'w+' )
f.write(text)
f.close()
api_caller.sendline('R')
return hello()
@app.route("/DisplayImage", methods=['POST'])
def DisplayImage():
if request.method == 'POST':