Pregunta de entrevista de Pypestream

How would you define an API?