Motores de búsqueda
Leer 1 minuto
campaign/searches
Parámetros:
- token - token de autorización (string)
<?php
$post = array(
'token' => $token
);
if ($curl = curl_init()) {
curl_setopt($curl, CURLOPT_URL, 'https://www.ipweb.pro/api/v2/campaign/searches');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
$out = curl_exec($curl);
echo $out;
curl_close($curl);
}
// Resultado:
{
"yandex.ru": "Яндекс (Россия)",
"google.am": "Google (Армения)",
"bing.com": "Bing"
}