Heidi Health Interview Question

Given certain endpoints and parameters, construct an API using Python.