Skip to content

Returns epoch time via an API call. Simple. Fun!

Notifications You must be signed in to change notification settings

webdog/epochtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epoch Time

`A simple, flask microservice that returns epoch time to an int-friendly format on an HTTP GET request. Useful for stateless architecture.

How to run:

docker build -t epochtime:latest .

docker run -itd -p 8080:8080 epochtime:latest

import requests
response = requests.get('localhost:8080')
print(response.body)
1532468906.0

About

Returns epoch time via an API call. Simple. Fun!

https://webdog-epochtime.herokuapp.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published