Skip to content

Commit

Permalink
Merge branch 'master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Nov 16, 2015
2 parents e6449d2 + 18d34e5 commit 197b906
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
---------


0.1.5 (2015-11-15)
++++++++++++++++++
* core: fix club (thanks to hunterjm #169)

0.1.4 (2015-10-29)
++++++++++++++++++
* core: fix itemParse (thanks to hunterjm #163)
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ Players database (json): http://cdn.content.easports.com/fifa/fltOnlineAssets/B4
Usage
-----

AutoBuyer GUI
`````````````
If You're looking for "user friendly" autobuyer take a look at hunterjm's project:
https://github.com/hunterjm/futgui/releases

Login
`````````````
Optional parameters:
Expand Down
2 changes: 1 addition & 1 deletion fut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

__title__ = 'fut'
__version__ = '0.1.4'
__version__ = '0.1.5'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down
6 changes: 3 additions & 3 deletions fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,15 +551,15 @@ def club(self, count=10, level=10, type=1, start=0):
Returns items in your club, excluding consumables
count - the number of cards you want to request
level - Not quite sure, It always seems to be 10
level - 10 for ALL, 3 for gold, 2 for silver, 1 for bronze
type - the type of card that you need:
set to 1 for players
set to 100 for staff
set to 142 for club items
start - position to start from
"""
data = {'count': count, 'level': level, 'type': type, 'start': start}
rc = self.__get__(self.urls['fut']['Club'], data=json.dumps(data))
params = {'count': count, 'level': level, 'type': type, 'start': start}
rc = self.__get__(self.urls['fut']['Club'], params=params)
return [itemParse({'itemData': i}) for i in rc['itemData']]

def squad(self, squad_id=0):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


__title__ = 'fut'
__version__ = '0.1.4'
__version__ = '0.1.5'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down

0 comments on commit 197b906

Please sign in to comment.