api intergration examples