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"
}
IPweb

Califica el material:

Puntuación: 0 sobre 5. Total de puntuaciones: 0.
Última modificación

No entiendo nada! Ayudar :-(