Skip to content

prolong/FIFA14-Unofficial-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 

Repository files navigation

FIFA14-Unofficial-API

Starting

define("CLASSES", $_SERVER['DOCUMENT_ROOT']."/classes");
require CLASSES."/Guzzle/guzzle.phar";
require CLASSES."/connector.php";
require CLASSES."/eahashor.php";
require CLASSES."/searchor.php";

$loginDetails = array(
    "username" => $email,
    "password" => $password,
    "hash" => $hash,
    "platform" => "xbox360",
);

$con = new Connector($loginDetails);
$connection = $con->connect();

This will return the session and token information used to make Search and Bid calls. It will be returned in an array with the following layout:

$loginResponse = array(
    "nucleusId" => $nucleusId,
    "userAccounts" => $userAccounts,
    "sessionId" => $sessionId,
    "phishingToken" => $phishingToken,
    "cookies" => $cookiePlugin,
    "platform" => $this->_loginDetails['platform']
);

These can be used by grabbing the array key like so:

$nucID = $loginResponse['nucleusId']; 

About

Connect to the FIFA14 Web App using PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published