Pypestream Interview Question

How would you define an API?