fut
fut copied to clipboard
searchAuctions
I want to search players with
fut.searchAuctions('player', assetId=player.assetId, max_buy=player.maxBid)
but also I want to add rating and expire time to this search is there any easy way to do this?
max_buy=player.maxBid
It's not needed, You can't find any player with buy now higher that his max bid right :-)?
I want to add rating and expire time
Unfortunately ea doesn't allow us to filter with rating or expire time so You have to filter results on Your own. For example:
if result['rating'] < min_rating
But I cannot get more than 50 results in a page, how can I change to last page so I can get new listed players in the market?
There is no way we can find out how many pages are there (and it changes every second when auctions are created or expire) so You have to go step by step or skip few pages but it might be risky.