1. Go to this page and download the library: Download futmkt/fut-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/ */
futmkt / fut-api example snippets
use FUTApi\Core;
use FUTApi\FutError;
try {
$fut = new Core('email', 'password', 'platform', 'backup_code');
} catch(FutError $e) {
$error = $e->GetOptions();
die("We have an error logging in: ".$error['reason']);
}
$login = $fut->login();
use FUTApi\Core;
use FUTApi\FutError;
$fut = new Core('email', 'password', 'platform', 'backup_code');
$fut->setSession($persona, $nucleus, $phishing, $session, $dob);