普罗米修斯出口幻想英超。
fpl-exporter的Python项目详细描述
FPL出口商
普罗米修斯出口幻想英超。
- 免费软件:apache软件许可证2.0
- 文档:https://fpl-exporter.readthedocs.io。
安装和升级
helm upgrade fpl exporter charts/incubator/prometheus exporter–名称空间导出器-f values.yaml–安装
内部指标
Metric | Description |
---|---|
prometheus_exporter_fpl_work_time | Time spemnt processing API response data |
prometheus_exporter_fpl_api_response_time | API response time |
一般指标
Metric | Description |
---|---|
fpl_players_total | Number of FPL players |
fpl_assets_total | Number of Premier League assets (players) |
团队指标
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 |
资产指标
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!有更多的度量被检测,但是由于我还没有发现它们的用途,并且不想用无用的功能重载导出器。定义的度量可以在fpl_exporter/metrics.py.找到。
功能
- HELP: fpl-exporter –help
- DEBUG MODE: fpl-exporter -vd -p bootstrap-static
终点
https://fantasy.premierleague.com/api/entry/{teamid}/历史记录 https://fantasy.premierleague.com/api/entry/{teamid}
https://fantasy.premierleague.com/api/fixtureshttps://fantasy.premierleague.com/api/bootstrap-statichttp://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}
学分
这个包是用Cookiecutter和audreyr/cookiecutter-pypackage项目模板创建的。
历史记录
0.0.1(2019-07-16)
- pypi上的第一个版本。