Project

utapi

0.0
No commit activity in last 3 years
No release in over 3 years
FIFA 14 Ultimate Team api in Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

UTApi

A thin api in ruby for ultimate team. It handles logging in, retrying requests, and http errors. All the api calls (see below) return a hash which is just the json returned by that request (I said it was thin).

Installation

Add this line to your application's Gemfile:

gem 'utapi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install utapi

Usage

client = UTApi::Client.new(email, password, hash, platform)
client.login # true
client.credits

#  {
#    'credits' => 16659,
#    'currencies' => [
#        { 'name' => 'COINS', 'funds' => 16659, 'finalFunds' => 16659 },
#        { 'name' => 'POINTS', 'funds' => 0, 'finalFunds' => 0 }
#    ],
#    'unopenedPacks' => {
#        'preOrderPacks' => 0,
#        'recoveredPacks' => 0
#    },
#    'bidTokens' => {}
#  }

Api Methods

  • search(params)
  • auction_status(ids)
  • bid(trade_id, value)
  • list_item(item_id, start_price, bin_price, duration)
  • move_card(item_id, pile)
  • trade_pile
  • watch_list
  • unassigned_items
  • delete_from_trade_pile(trade_id)
  • delete_from_watch_list(trade_id1, trade_id2, ...)
  • get_credits

If you need more adding, just open an issue.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request