Create service to make get petitions to api