I made a fork of the code with new features, like logging an error handeling. https://github.com/BasToTheMax/REST-API