Project · Python · APIs · Data pipelines · Machine learning

Fantasy API

A reusable Python data layer for fetching, organizing, storing, and serving fantasy-football data locally.

Fantasy API is a reusable data layer for applications that need access to fantasy-football player, team, match, and performance data. It fetches data from external sources, normalizes and stores it locally, and can optionally expose the stored data through a local API.

Why I built it

The project separates data collection from data consumption. External data is fetched and processed before being stored, allowing downstream applications to work against a consistent local dataset instead of repeatedly depending on external services.

What it includes

The repository provides update utilities, structured access to player and team data, local storage, and an optional API layer. It was designed as a foundation for analytics, experimentation, and applications that need repeatable data.

Fantasy API was originally built as the data layer for Fantasy RL, a reinforcement-learning project that explores fantasy-football team management through player trading, team composition, and strategy.