Simple python API using Flask