GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shapecode/fut-api: Manage your FIFA Ultimate Team with this FIFA 20 WebApp API PHP framework

BranchesTags
Open more actions menu

Latest commit

 

History

73 Commits
73 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
data/fixtures
data/fixtures
 
 
src
src
 
 
tests
tests
 
 
.env.dist
.env.dist
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
composer-require-checker.json
composer-require-checker.json
 
 
composer.json
composer.json
 
 
composer.lock
composer.lock
 
 
phpcs.xml
phpcs.xml
 
 
phpstan.neon.dist
phpstan.neon.dist
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

FIFA 20 WebApp API

Manage your FIFA 20 Ultimate Team using this FIFA 20 Ultimate Team API. Written solely in PHP

paypal

PHP Version Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License

Installing

The recommended way to install FIFA 20 WebApp API is through Composer.

composer require shapecode/fut-api "~20.0@dev"

Contribute

Don't be shy. Feel free to contribute and create pull-requests. There's a lot to do.

Usage

Login

Login parameters:

  • email: [string] email used for logging into the FIFA 20 WebApp
  • password: [string] password used for logging into the FIFA 20 WebApp
  • platform: [string] pc/ps4/ps4/xbox/xbox360
  • code: [string] email code for two-step verification (make sure to use string if your code starts with 0).
use FUTApi\Api\Core;
use FUTApi\Exception\FutError;
use FUTApi\Api\Authentication\Account;
use FUTApi\Api\Authentication\Credentials;
use FUTApi\Api\Authentication\Session;

$credentials = new Credentials($email, $password, $platform);

// if you already have a valid session
$session = new Session($persona, $nucleus, $phishing, $session, $dob, $accessToken, $tokenType);

// otherwise
$session = null;

$account = new Account($credentials, $session);
$fut = new Core($account);

try {
    $login = $fut->login($code);
    $session = $account->getSession();
} catch(FutError $e) {
    $reason = $e->getReason();
    die("We have an error logging in: ".$reason);
}

After you have initiated your first session, you can then use the API wthout logging in again using the session info.

Search

Optional parameters:

  • min_price: [int] Minimal price.
  • max_price: [int] Maximum price.
  • min_buy: [int] Minimal buy now price.
  • max_buy: [int] Maximum buy now price.
  • level: ['bronze'/'silver'/gold'] Card level.
  • start: [int] Start page number.
  • category: ['fitness'/'?'] Card category.
  • assetId: [int] assetId.
  • defId: [int] defId.
  • league: [int] League id.
  • club: [int] Club id.
  • position: [int?/str?] Position.
  • zone: ['attacker'/'?'] zone.
  • nationality: [int] Nation id.
  • rare: [boolean] True for searching special cards.
  • playStyle: [str?] playStyle.
  • page_size: [int] Amount of cards on single page (changing this might be risky).
$options = [];
$items = $fut->search($options);

Logout

Replicates clicking the Logout button.

$fut->logout();

License

GNU GPLv3

Forked

https://github.com/InkedCurtis/FUT-API

About

Manage your FIFA Ultimate Team with this FIFA 20 WebApp API PHP framework

Topics

apibotfifafifa-ultimate-teamfifa19futfut19

Resources

Readme
Activity
Custom properties

Stars

46 stars

Watchers

17 watching

Forks

18 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.