Prometheus Exporter for Fantasy Premier League.
Project description
FPL Exporter
Prometheus Exporter for Fantasy Premier League.
Free software: Apache Software License 2.0
Documentation: https://fpl-exporter.readthedocs.io.
Installation & Upgrade
helm upgrade fpl-exporter charts/incubator/prometheus-exporter –namespace exporter -f values.yaml –install
Internal Metrics
Metric |
Description |
---|---|
prometheus_exporter_fpl_work_time |
Time spemnt processing API response data |
prometheus_exporter_fpl_api_response_time |
API response time |
Generic Metrics
Metric |
Description |
---|---|
fpl_players_total |
Number of FPL players |
fpl_assets_total |
Number of Premier League assets (players) |
Team Metrics
Metric |
Description |
---|---|
fpl_team_availability |
Team availability, current gameweek |
fpl_team_strength_attack_home |
Team offensive strength on home games |
fpl_team_strength_attack_away |
Team offensive strength on away games |
fpl_team_strength_defence_home |
Team defensive strength on home games |
fpl_team_strength_defence_away |
Team defensive strength on away games |
fpl_team_strength_overal_home |
Team overall strength on home games |
fpl_team_strength_overal_away |
Team overall strength on away games |
fpl_team_strength |
Team strength |
fpl_team_table_position |
Team position in Premier League table |
fpl_team_table_points |
Team points accumulated in Premier League table |
fpl_team_games_played |
Games played |
fpl_team_games_won |
Ganes won |
fpl_team_games_lost |
Games lost |
fpl_team_games_drawn |
Games drawn |
Asset Metrics
Metric |
Description |
---|---|
fpl_asset_ict_index |
Asset ICT Index |
fpl_asset_influence |
Asset Influence |
fpl_asset_creatifity |
Asset Creativity |
fpl_asset_threat |
Asset Threat |
fpl_asset_selected_by_percent |
Asset Selected by people (percentage) |
fpl_asset_form |
Asset Form |
fpl_asset_bonus |
Asset Bonus |
fpl_asset_bps |
Asset Bonus Point Scores |
NB! There’s more metrics instrumented, but since I haven’t yet found use for them and don’t want to overload exporter with useless functionality. Defined metrics can be found at fpl_exporter/metrics.py.
Features
HELP: fpl-exporter –help
DEBUG MODE: fpl-exporter -vd -p bootstrap-static
Endpoints
https://fantasy.premierleague.com/api/entry/{teamId}/history https://fantasy.premierleague.com/api/entry/{teamId}
https://fantasy.premierleague.com/api/fixtures https://fantasy.premierleague.com/api/bootstrap-static http://fantasy.premierleague.com/api/element-summary/{playerId}
http://fantasy.premierleague.com/api/leagues-classic-standings/{leagueId} http://fantasy.premierleague.com/api/leagues-h2h-standings/{leagueId}
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.1 (2019-07-16)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for fpl_exporter-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396aacfac6cb4576b2a502de5d388893c34d4cbbc763d03cd53ca47fd0730d1e |
|
MD5 | e56e4b69a847bbe5ecfb66c45f0ff609 |
|
BLAKE2b-256 | f6dfac70cf830be1f50b5ac1b2dd7892ad34840020f178f764810975972f9f5d |