Skip to main content

FPLDATA

Get processed and cleaner data from the FPL API!

Installation

Run the following code to install:

pip install fpldata

Usage

Get the names of team in EPL. Returns a list

from fpldata import TeamData

t1 = TeamData()
print(t1.list_team_name())

Get the EPL table. Returns a pandas DataFrame

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)

Get player list with their id. Returns dictionary of players with ids as key and name as value

from fpldata import PlayerData
p1 = PlayerData()
print(p1.player_list())

Search player by name. Returns dictionary of player with ids as key and name as value

from fpldata import PlayerData
p1 = PlayerData()
data = p1.search_player('David')
print(data)

Release files for fpldata 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fpldata 0.0.4
File Size Uploaded
fpldata-0.0.4.tar.gz 5.9 kB Details

Release files / fpldata-0.0.4.tar.gz

Download URL fpldata-0.0.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
980bc57eb90d4442ff6fec1e9c3683890c46f00cce95f8e2bcf25527e78280e4
BLAKE2b-256 checksum
How to use checksums
df7f716058883692c462471d3249d3edebee444ac52fadcee1f65a8afd52b34f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page