I have a list of players with the following attributes - assetId maxBid minPrice maxPrice
How can I create a list in Python and pick one player at random an apply it to a search function.
I am looking to accomplish something like this :
players = []
players.append(13732, 8000, 9300, 9400) #John Terry
players.append(165580, 2400, 3000, 3100) #Diego Alves
for player in players:
items = fut.searchAuctions('player',
assetId=player.assetId,
max_buy=player.maxBid)