Direct7 Networks interview question

What's an API, name some Methods used?