@ 2015-09-21T10:57:03Z <?php
<?php
//Your Site Settings
$site_public_key = 'X';
$site_private_key = 'X';
//Connection Resource
$resource_uri = 'https://api.lkqd.com/reports';
$body = '{
"timeDimension": "HOURLY", // OVERALL, DAILY, HOURLY
"reportType": ["PARTNER"], // Up to 3 dimensions among OVERVIEW, PARTNER, DOMAIN, APP_NAME, SITE, SOURCE, DEAL, TAG, FORMAT, COUNTRY, CUSTOM1, CUSTOM2, CUSTOM3, OS, DEVICE, PLAYER_WIDTH_HEIGHT
"reportFormat": "JSON", // JSON, CSV
"startDate": "2015-01-08", // Required, These are in America/New_York timezone by default
"endDate": "2015-01-09", // Required, These are in America/New_York timezone by default
"startHour": 5, // Optional, only meaningful for HOURLY time dimension, must be Int (not String)
"endHour": 19, // Optional, only meaningful for HOURLY time dimension, must be Int (not String)
"timezone": "UTC", // "UTC" and "America/New_York" currently supported
"sort": [{
"field": "field_name1", // field_name1, field_name2, field_name3, ad_requests, ad_impressions, ad_fill_rate, ad_cpm, ad_revenue, ad_ctr, ad_vtr
"order": "desc" // asc, desc
}],
"limit": 100, // default is unlimited
"offset": 300 // default 0
}';
//Setup connection
$curl = curl_init($resource_uri);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-Type: application/json","Authorization: xxxx"));
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $body);
curl_setopt($curl, CURLOPT_USERPWD, $site_public_key . ":" . $site_private_key);
//Send request
$result_json = curl_exec($curl);
curl_close($curl);
//Done
print_r($result_json);
$responseData = json_decode($response, TRUE);
print_r($responseData);
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.6.13 0.013 0.073 18.22 5.6.12 0.000 0.047 21.14 5.6.11 0.003 0.090 21.02 5.6.10 0.007 0.040 20.97 5.6.9 0.013 0.080 20.97 5.6.8 0.010 0.077 20.37 5.5.29 0.010 0.077 18.02 5.5.28 0.000 0.050 20.63 5.5.27 0.010 0.080 20.75 5.5.26 0.007 0.040 20.84 5.5.25 0.003 0.077 20.54 5.5.24 0.017 0.033 20.34 5.4.45 0.057 0.047 19.44 5.4.44 0.050 0.057 19.45 5.4.43 0.057 0.053 19.67 5.4.42 0.043 0.057 19.41 5.4.41 0.063 0.050 19.55 5.4.40 0.057 0.053 18.95 5.4.39 0.057 0.067 18.82 5.4.38 0.060 0.057 19.24 5.4.37 0.067 0.040 19.00 5.4.36 0.067 0.063 19.09 5.4.35 0.063 0.057 18.82 5.4.34 0.067 0.053 19.25 5.4.32 0.063 0.053 19.11 5.4.31 0.060 0.053 19.21 5.4.30 0.063 0.047 19.27 5.4.29 0.060 0.060 19.29 5.4.28 0.053 0.053 18.82 5.4.27 0.050 0.060 19.04 5.4.26 0.063 0.047 19.23 5.4.25 0.053 0.057 19.14 5.4.24 0.067 0.043 19.14 5.4.23 0.063 0.053 18.82 5.4.22 0.060 0.053 19.25 5.4.21 0.060 0.050 19.00 5.4.20 0.060 0.047 18.82 5.4.19 0.047 0.057 18.81 5.4.18 0.053 0.057 19.28 5.4.17 0.063 0.047 18.93 5.4.16 0.053 0.053 19.32 5.4.15 0.057 0.057 18.81 5.4.14 0.067 0.043 16.32 5.4.13 0.047 0.053 16.41 5.4.12 0.050 0.070 16.30 5.4.11 0.053 0.070 16.68 5.4.10 0.060 0.053 16.54 5.4.9 0.067 0.050 16.61 5.4.8 0.063 0.043 16.57 5.4.7 0.003 0.037 16.55 5.4.6 0.003 0.067 16.51 5.4.5 0.003 0.063 16.25 5.4.4 0.030 0.070 16.21 5.4.3 0.023 0.027 16.33 5.4.2 0.030 0.040 16.38
preferences:dark mode live preview
125.05 ms | 1398 KiB | 7 Q