Pergunta de entrevista da empresa PureCode Software

How would you approach integrating a third-party API into an existing application? What factors would you consider when choosing between REST and GraphQL?