2020-10-14T14:00:54

Async::Microservice - bootstrap Async HTTP Microservice

Just uploaded Async::Microservice to CPAN.

It's made to bootstrap and launch documented HTTP APIs using Perl 5 in "notime". Github README shows how-to and describes the time example with couple of functions. Live documentation with [Try it out] here: https://time.meon.eu/v1/, OpenAPI v3 specification here: https://time.meon.eu/v1/edit.

Want to know the current time in Vienna Europe?
https://time.meon.eu/v1/datetime?time_zone=CET

{
   "date" : "2020-10-15",
   "datetime" : "2020-10-15 23:05:40 +0200",
   "day" : "15",
   "epoch" : 1602795940,
   "hour" : "23",
   "minute" : "05",
   "month" : "10",
   "second" : "40",
   "time" : "23:05:40",
   "time_zone" : "+0200",
   "time_zone_name" : "CEST",
   "year" : "2020"
}                   

It clearly say → it's time to go to sleep! 💤💤💤

Want to know the current time in Eastern Standard Time?
https://time.meon.eu/v1/datetime?time_zone=EST

{
   "date" : "2020-10-15",
   "datetime" : "2020-10-15 16:12:18 -0500",
   "day" : "15",
   "epoch" : 1602796338,
   "hour" : "16",
   "minute" : "12",
   "month" : "10",
   "second" : "18",
   "time" : "16:12:18",
   "time_zone" : "-0500",
   "time_zone_name" : "EST",
   "year" : "2020"
}                   

comments powered by Disqus