Skip to content

playing wildcard #132

@nicksillito

Description

@nicksillito

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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions