Direct7 Networks Interview Question

What's an API, name some Methods used?