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

app = Flask(__name__)

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