Skip to content

jpaulodev/futjs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FUTAPI-JS

Fifa Ultimate Team non-official API

Documentation

Python source provided by: https://github.com/futapi/fut/

Usage

Login

  const FutJS = require('./futapi-js');

  let fut = new FutJS({
    email: '[email protected]',
    password: 'yourpassword',
    code: '123456',
    platform: 'xbox'
  });

  await fut.login();

Once logged in, all methods will be available in fut variable.

Usage example:

    let filter = {
      level       : 'silver',
      position    : 'RB',
      nationality : 54,
      maxBuy      : 1000,
      startingBid : 1500,
      buyNowPrice : 1600
    };

    let results = await fut.search(filter);
    
    for (let item of results) {
      let bid = await fut.bid(item.tradeId, item.buyNowPrice);
      if (bid) {
        // success
      } else {
        // failed 
      }
    }

Contributing

Open an issue or mail me if you want to contribute.

Contact

Email: [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published