Lab work to create REST API efficiently in python