netclock/api/v1/clock.py
2020-09-12 12:58:38 +02:00

7 lines
142 B
Python

from time import time
from api.v1 import api_v1
@api_v1.route('/time/<float:t1>')
def netime_time(t1: float) -> str:
return str(time())