fpl
fpl copied to clipboard
An asynchronous Python wrapper for the Fantasy Premier League API.
Running the following python script: ``` #!/usr/bin/python3 import asyncio import aiohttp from fpl import FPL async def my_team(user_id): async with aiohttp.ClientSession() as session: fpl = FPL(session) await fpl.login("someemail.com", "somepassword") user...
The main league I play in is Draft and so I would love to be able to use this library for Draft. From what I can see, some of the...
Added player search feature using Leveshstein distance.
Would be great if there was a function that allows you to activate e.g. your wildcard. I'm not sure if this is possible, but someone told me transfers and substitutions...
tests still to be done
This is a feature request. I was looking for a live points notification system which would provide realtime updates about the matchday points. What do you think about the idea?...
apply_live_bonus
Hey, I was trying out the Optimal captain choice example but the enum is not working since its not picking the values from the dictionary: Old code: ``` for i,...
Login fails
I can't get the login function to work. Maybe fpl has changed something and the headers don't work?