https://pypi.org/project/fpldata/
Run the following code to install:
pip install fpldata
from fpldata import TeamData
t1 = TeamData()
print(t1.list_team_name())
from fpldata import TeamData
t1 = TeamData()
print(t1.get_table())
Compares two teams based on their Strengths scores. Input should be the short name of the team. Returns a pandas DataFrame
from fpldata import TeamData
t1 = TeamData()
data = t1.team_compare('ARS','LIV')
print(data)
from fpldata import PlayerData
p1 = PlayerData()
print(p1.player_list())
from fpldata import PlayerData
p1 = PlayerData()
data = p1.search_player('David')
print(data)
Find the documentation at https://harsh1347.github.io/fpldatadocs/