api intergration exercise