dev-master
9999999-devFIFA 18 WebApp API
MIT
The Requires
- php >=7.0.0
- guzzlehttp/guzzle ^6.3
fut fifa fifa api
FIFA 18 WebApp API
Manage your FIFA 18 Ultimate Team using this FIFA 18 Ultimate Team API. Written solely in PHP, (*1)
The recommended way to install FIFA 18 WebApp API is through Composer., (*2)
# Install Composer curl -sS https://getcomposer.org/installer | php
Next, run the Composer command to install the latest stable version of Guzzle:, (*3)
composer require inkedcurtis/fut-api=dev-master
After installing, you need to require Composer's autoloader:, (*4)
require 'vendor/autoload.php';
Players database: https://www.easports.com/uk/fifa/ultimate-team/fut/database, (*5)
Players database (json): https://www.easports.com/fifa/ultimate-team/web-app/content/B1BA185F-AD7C-4128-8A64-746DE4EC5A82/2018/fut/items/web/players_meta.json, (*6)
Python source provided by: https://github.com/futapi/fut/, (*7)
Skype: bws-curtisbr/ Email: admin@curtiscrewe.co.uk, (*8)
Optional parameters:, (*9)
use FUTApi\Core; use FUTApi\FutError; try { $fut = new Core('email', 'password', 'secret answer', 'platform', 'backup_code'); } catch(FutError $e) { $error = $e->GetOptions(); die("We have an error logging in: ".$error['reason']); } $login = $fut->login();
After you have initiated your first session, you can then use the API wthout logging in again using the session info from your original login array:, (*10)
use FUTApi\Core; use FUTApi\FutError; $fut = new Core('email', 'password', 'secret answer', 'platform', 'backup_code'); $fut->setSession($persona, $nucleus, $phishing, $session, $dob);
Optional parameters:, (*11)
$items = $fut->searchAuctions('player');
Replicates clicking the Logout button., (*12)
$fut->logout();
GNU GPLv3, (*13)
FIFA 18 WebApp API
MIT
fut fifa fifa api