Setting Up a Stook Account

You can set up a Stook account using the following information with API: Parametreler   Return Values   PHP Example: <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘label’ => ‘Zone Label’, ); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/zone/create/stook’; $ch = curl_init($service_url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “POST”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, […]

Read More

Stook Zone List

Stook Zone List Using the information below, you can list the zone in your Stook service with the API. Method GET Link https://api.medianova.com/v1/zone/list Parameters Return Values Example PHP 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 { […]

Read More

Inactivating Stook Account

You can passivate an account with the API using the following information. Method PUT Link https://api.medianova.com/v1/zone/stook/passive Parameters Parameter Type Necessary Explanation user_key string yes API User Key user_secret string yes API User Secret zone_id int yes Zone Id Return Values status bool data object   PHP Example: <?php $curl_post_data = array( ‘user_key’ => ‘Your User […]

Read More

Stook Zone Detail

Stook Zone Detail You can view your zone details for your Stook service with the API using the following information. Parameters Return Values Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $zone_id=”Your Zone Id”; $service_url = ‘https://api.medianova.com/v1/zone/detail?user_key=’.$user_key.’&user_secret=’.$user_secret.’&zone_id=’.$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 { […]

Read More

Activating Stook

You can activate the account with the API using the following information. Method PUT Link https://api.medianova.com/v1/zone/stook/active Parameters Parameter Type Necessary Explanation user_key string yes API User Key user_secret string yes API User Secret zone_id int yes Zone Id Return Values status bool data object PHP Example: <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, […]

Read More

Stook Zone Delete

Stook Zone Delete Using the information below, you can delete the Zone for your Stook service with API Method DELETE Link https://api.medianova.com/v1/zone/delete/stook Parameters Parameter Type Required Description user_key string yes API User Key user_secret string yes API User Secret zone_id integer yes Zone Id Return Values status bool data object Example PHP Code <?php $curl_post_data […]

Read More

Editing Stook Account

You can edit your account details with the API using the following information. Method PUT Link https://api.medianova.com/v1/zone/stook/update Parameters Parameter Type Necessary Explanation user_key string yes API User Key user_secret string yes API User Secret zone_id int yes Zone ID label string yes Zone Label change_secret_key bool yes If you want to change Secret Key information, […]

Read More