REST API v0.1
Adapt do Python3 and Python2