Example of a python api server