Pergunta de entrevista da empresa Credence Management Solutions

If there is a library, how would you build an API? What experience did you have with API?