EasyPost interview question

What is an API? How do you implement one?