Cummins interview question

If I have used API´s before