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 Aug 31, 2014
2 parents 21a9fd4 + 73ca876 commit 97808fd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ Patches and Suggestions
- mvillarejo
- Mauro Marano
- Innursery
- Arthur Nogueira Neves @arthurnn
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ Changelog
---------


0.0.16 (2014-08-31)
++++++++++++++++++
* #76 fix buying (thanks to arthurnn)


0.0.15 (2014-08-29)
++++++++++++++++++
* add new exceptions: doLoginFail, MaxSessions, Captcha
* add changelog
* NullHandler is default logging handler
* core: bump clientVersion (8->9)


0.0.14 (2014-07-06)
++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Usage
>>> import fut14
>>> fut = fut14.Core('email', 'password', 'secret answer', platform='xbox', emulate='and', debug=True)
>>> # PLATFORM: pc / ps3 / xbox / and / ios (pc default)
>>> # EMULATE: and / ios (use this feature to avoid webapp errors [feature disabled])
>>> # EMULATE: and / ios (use this feature to avoid webapp errors [BE WARE IT'S HIGH RISK])
>>> # DEBUG: save http response to fut14.log)
>>> items = fut.searchAuctions('development', # search items
Expand Down
2 changes: 1 addition & 1 deletion fut14/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

__title__ = 'fut14'
__version__ = '0.0.15'
__version__ = '0.0.16'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down
2 changes: 1 addition & 1 deletion fut14/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def searchAuctions(self, ctype, level=None, category=None, assetId=None,

def bid(self, trade_id, bid):
"""Make a bid."""
rc = self.__get__(self.urls['fut']['PostBid'], params={'tradeIds': trade_id})['auctionInfo'][0]
rc = self.__get__(self.urls['fut']['TradeStatus'], params={'tradeIds': trade_id})['auctionInfo'][0]
if rc['currentBid'] < bid and self.credits >= bid:
data = {'bid': bid}
url = '{0}/{1}/bid'.format(self.urls['fut']['PostBid'], trade_id)
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__ = 'fut14'
__version__ = '0.0.15'
__version__ = '0.0.16'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down

0 comments on commit 97808fd

Please sign in to comment.