PHP code example of nicolasbeauvais / botscout-client

1. Go to this page and download the library: Download nicolasbeauvais/botscout-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nicolasbeauvais / botscout-client example snippets


$response = $botscout->multi($name, $mail, $ip);

$response = $botscout->all($name);
$response = $botscout->all($email);

$response = $botscout->name($name);

$response = $botscout->mail($mail);

$response = $botscout->ip($ip);

// Return false if the email has a match in the botscout database
$response->isValid();

// Return true if the email has a match in the botscout database
$response->getMatched();
 php
$client = new \GuzzleHttp\Client();

$botscout = new NicolasBeauvais\BotScout($client, 'api-key');