<?php

use infobip\CustomerProfileClient;
use infobip\utils\Logs;
require_once __DIR__ . '/../vendor/autoload.php';
$customerProfileClient = new CustomerProfileClient(USERNAME, PASSWORD);
$customerProfileClient->login();
$customerProfile = $customerProfileClient->getCustomerProfile();
if (!$customerProfile->isSuccess()) {
    echo $customerProfile->exception;
    Logs::printLogs();
    die(0);
}
echo $customerProfile, "\n";
Logs::printLogs();