Check if customer is subscriber, subscription profile and segment.
Run the Composer command to install the latest stable version:
php composer.phar -vvv require inicial/infoglobo-php
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
You can then later update using composer:
php composer.phar -vvv update
require_once(dirname(__FILE__) . '/vendor/autoload.php');
$infoGlobo = new InfoGlobo\InfoGlobo();
$infoGlobo->setApiBaseUrl ('https://api-ig.infoglobo.com.br/');
$infoGlobo->setApiAuthUser('username');
$infoGlobo->setApiAuthPass('password');
$infoGlobo->setApiCustomer('customer');
$customer = $infoGlobo->getCustomerByCpf('96356986523');
You can find more info about usage on class source code.
Report any bug or suggest changes using git issues.