Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playing wildcard #132

Open
nicksillito opened this issue Oct 7, 2024 · 0 comments
Open

playing wildcard #132

nicksillito opened this issue Oct 7, 2024 · 0 comments

Comments

@nicksillito
Copy link

I have been using the transfer function to both make transfers and to play the wildcard. The transfers seem to work fine, but the wildcard seems to get ignored.

This is the code I am using (buy and sell are lists of player objects), when wildcard=True, it seems to be ignored:

# API log in (if any transfers)

async with aiohttp.ClientSession() as session:
    fplreader = fpl.FPL(session)
    await fplreader.login(self.fplUser.user, self.fplUser.password, self.fplUser.cookies)
    user = await fplreader.get_user(self.fplUser.uid)
    result = await user.transfer([_.id for _ in sell], [_.id for _ in buy], free_hit=freehit, wildcard=wildcard )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant