Progressive Geoblocking List
It allows you to list of Geoblocks.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
user_key | string | Yes | API User Token |
user_secret | string | Yes | API User Secret Token |
zone_ids | array | Yes | Stream Zone Ids |
status | number | No | 1 is active, 0 is passive |
page | number | No | Page number |
limit | number | No | List limit, max 1000 |
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/geoblocking/progressive/list?user_key='.$user_key.'&user_secret='.$user_secret.'&zone_ids[]={zone_id}';
$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
{
"status": true,
"data": {
"count": 1,
"page": 1,
"limit": 100,
"rules": [
{
"zone_id": 6228,
"status": 1,
"countries": [
"AO"
],
"white_ip_list": [],
}
]
},
"opid": "IuNYKCU4rALwVa9k"
}