Lightweight service to give the UTC offset for a given timezone
Install the dependencies:
pipenv install
Run a local instance for development:
pipenv run heroku local
Manually test the functionality using curl
:
curl http://0.0.0.0:5000/api/v1/offset/
See https://tzoffset.io.
curl https://tzoffset.io/api/v1/offset/Europe/Paris