PHP code example of m1guelpf / sqreen-api

1. Go to this page and download the library: Download m1guelpf/sqreen-api 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/ */

    

m1guelpf / sqreen-api example snippets

 php
$sqreen = new \M1guelpf\SqreenAPI\Sqreen('YOUR_SQREEN_API_TOKEN');
 php
$sqreen = new \M1guelpf\SqreenAPI\Sqreen();

$sqreen->connect('YOUR_SQREEN_API_TOKEN');
 php
$sqreen->emails($email);
 php
$sqreen->ips($ip);
 php
$sqreen->getClient();
 php
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$sqreen->setClient($client);