Traffic Usage by Zones

You can obtain and view the traffic distribution based on the type of your zone (Large, Small, or Aksela object).

Parameters

Return Values

Example PHP Code

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.medianova.com/v1/report/zones",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Example Output

{
   "status":true,
   "data":{
      "app_name":{
         "hit":9,
         "traffic":25394,
         "bandwidth":0,
         "timezone":"GMT+3"
      }
   }
}