Stream Zone Status (Active/Passive)

Stream Zone Status (Active/Passive) You can activate or deacivate¬†your stream zones. Method PUT Link-(for active) https://api.medianova.com/v1/zone/stream/active Link-(for passive) https://api.medianova.com/v1/zone/stream/passive Parameters Parameter Type Required Description user_key string Yes API User Token user_secret string Yes API User Secret Token zone_id integer Yes Zone ID Return Values status bool data objects PHP Example <?php $service_url = ‘https://api.medianova.com/v1/zone/stream/active’; $ch […]

Read More

Hit / Miss Report for the VOD Object

Hit / Miss Report for the VOD Object Returns the hit/miss ratio for the progressive zone for VOD object Parameters Return Values Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $service_url = ‘https://api.medianova.com/v1/report/cache-status?user_key=’.$user_key.’&user_secret=’.$user_secret.’&zone_ids[]={zone_id}&from={date}&to={date}’; $ch = curl_init($service_url); $curl_response = curl_exec($ch); curl_close($curl); $decoded = json_decode($curl_response); ?> Example Output { “status”: true, “data”: [ { “hit”: […]

Read More

Geoblock Countries

Geoblock Countries This API list the available country codes. Parameters Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $service_url = ‘https://api.medianova.com/v1/geoblocking/countries?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 { “status”: true, “data”: { “A1”: “Anonymous Proxy”, “A2”: “Satellite Provider”, “O1”: “Other Country”, “AD”: “Andorra”, “AE”: “United Arab Emirates”, […]

Read More

Geoblock List

Geoblock List This operation allows you to list Geoblocks for your stream live zone. Parameters Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $service_url = ‘https://api.medianova.com/v1/geoblocking/stream/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 { “status”: true, “data”: { “count”: 1, “page”: 1, “limit”: 100, “rules”: [ { […]

Read More

Geoblock Active

Geoblock Active This operation allows you to active to your passive Geoblocks for your stream live zone. Parameters Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘rule_id’ => [‘rule_id1’, ‘rule_id2’]); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/active’; $ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “PUT”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); […]

Read More

Geoblock Passive

Geoblock Passive This operation allows you to passive to your active Geoblocks for your stream live zone. This doesn’t delete the Geoblock. Parameters Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘rule_id’ => [‘rule_id1’, ‘rule_id2’]); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/passive’; $ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “PUT”); curl_setopt($ch, […]

Read More

Geoblock Delete

Geoblock Delete This operation allows you to delete Geoblocks for your stream live zone. Parameters Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘rule_ids’ => [‘rule_id1’, ‘rule_id2’]); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/delete’; $ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “DELETE”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( […]

Read More

Geoblock Edit

Geoblock Edit This operation allows you to edit Geoblocks for your stream live zone. Parameters Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘zone_ids’ => [‘zone_id1′,’zone_id2’], ‘countries’ => [‘county_code1’, ‘country_code2’]); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/stream/edit’; $ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “PUT”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); […]

Read More