netclock/api/v1/clock.py

8 lines
142 B
Python
Raw Normal View History

2020-09-12 10:58:38 +00:00
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())