netclock/timezone/api.py
Armin Friedl 4c88eb4121
All checks were successful
continuous-integration/drone/push Build is passing
Add timezone api
2020-10-26 11:47:07 +01:00

15 lines
301 B
Python

from flask import request, jsonify
from time import time
import uuid
import struct
from . import app
@app.route('/api/v1/autocomplete', methods=['GET'])
def autocomplete_timezone():
complete_str = request.args.get('complete')
if not complete_str: return "No part"
return complete_str