Capco Interview Question

How would you call a REST Api in python?