Capco interview question

How would you call a REST Api in python?