Skip to content

Instantly share code, notes, and snippets.

@stulevine
Created May 30, 2013 19:20
Show Gist options
  • Save stulevine/5680403 to your computer and use it in GitHub Desktop.
Save stulevine/5680403 to your computer and use it in GitHub Desktop.
$duse = $cdn->reseller_api->GetDiskUsageForDomain(
array(
'domainID'=>23467,
'rangeStart'=>'2013-05-29T00:00:00Z',
'rangeEnd'=>'2013-05-31T00:00:00Z')
);
apish> pexport($duse);
array (
'GetDiskUsageForDomainResult' =>
array (
'errorCode' => 0,
'message' => 'Success',
'records' =>
array (
'WSDiskUsageData' =>
array (
'domainID' => 23467,
'dailySamples' =>
array (
'UsageRecord' =>
array (
'sampleTime' => '2013-05-30T12:00:00',
),
),
),
),
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment