fetch-gameweek

Community

Fetches FPL gameweek data and serves it locally.

Authorharryfliu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates fetching FPL Draft gameweek data from the API and provides a local verification environment before deployment, reducing back-and-forth and data-availability issues.

Core Features & Use Cases

  • Automated data fetch: Pulls final or partial gameweek results, transfers history, and per-player stats from the FPL Draft API.
  • Local verification server: Serves the dashboard on http://localhost:8000 for rapid validation.
  • Data generation: Produces required CSVs (final_results_gwX.csv / partial_results_gwX.csv, transfer_history.csv, players_gwX.csv, pl_gwX.csv) and copies static resources (fixture_list.csv, starting_draft.csv, draftdata25_26.xlsx).
  • Optional AI-enabled summaries: Generates summary_gwX.csv and ai_summary_gwX.md for final results.
  • Preparation for deployment: This is a pre-deploy step; works hand-in-hand with deploy-gameweek.

Quick Start

To verify a gameweek locally:

  • Run python3 fetch_gameweek.py --gameweek <number> and then python3 serve_dashboard.py
  • Open http://localhost:8000 to review results before deploying.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fetch-gameweek
Download link: https://github.com/harryfliu/fpl_draft_2526/archive/main.zip#fetch-gameweek

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository