Zone List
Allows you to get all your zones as list.
Method | Link |
---|---|
GET |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
user_key | string | yes | API User Token |
user_secret | string | yes | API User Secret Token |
from | string | no | Y-m-d date format |
to | string | no | Y-m-d date format |
Return Values
Variable | Type |
---|---|
status | bool |
data | object |
Example PHP Code
CODE
<?php
$user_key="Your User Key";
$user_secret="Your User Secret";
$service_url = 'https://api.medianova.com/v1/zone/list?user_key='.$user_key.'&user_secret='.$user_secret;$ch = curl_init($service_url);
curl_setopt($ch,CURLOPT_CRLF, true);$curl_response = curl_exec($ch);
curl_close($curl);$decoded = json_decode($curl_response);
?>
Example Output
CODE
<code>{ "status": true,
"data": {
"Group_Name": {
"Client_Name": {
"id": 3706,
"name": "Client_Name",
"alias": "Client_Alias",
"type": "Live"
}
}
}
}</code>