aboutsummaryrefslogtreecommitdiff
path: root/api/api.py
blob: 64d9fe5379048a65d0a5e99e198504b9b9510400 (plain)
1
2
3
4
5
6
7
8
import time
from flask import Flask

app = Flask(__name__)

@app.route('/api/time')
def get_current_time():
    return {'time': time.time()}