post http://skyencoder.com/api/1.0/reports/usage
Get a date range report on the total amount of output minutes, costs, jobs and tasks for the given range. The time is broken down by daily usage.
{
"start": "",
"end": ""
}
require './lib/SkyEncoder.php';
$sky = new SkyEncoder('your-secret-key', 'your-api-token');
/* get the output minutes for the year */
$resp = $sky->getUsageReport(array(
'start' => mktime(0, 0, 0, 1, 1, date('Y')),
'end' => time()
));