â„šī¸ About F1 Stats Platform

About This Platform

The F1 Stats Platform is a comprehensive, automated solution for collecting, analyzing, and visualizing Formula 1 data and statistics. Built with Python and powered by the FastF1 library, this platform provides real-time insights into every aspect of Formula 1 racing.

đŸŽ¯ Features
  • ✅ Free Practice Session Analysis
  • ✅ Qualifying & Sprint Qualifying Stats
  • ✅ Race Results & Classifications
  • ✅ Animated Race Position Charts
  • ✅ Tyre Strategy Visualization
  • ✅ Sector Time Comparisons
  • ✅ Teammate Analysis
  • ✅ RESTful API for WordPress Integration
  • ✅ Automated Cron Job Scheduling
  • ✅ Secure Admin Panel
🔧 Technology Stack
  • Backend: Python 3.10, Flask
  • Database: PostgreSQL
  • Web Server: Apache with mod_wsgi
  • Data Source: FastF1 Library
  • Visualization: Matplotlib, Plotly, Seaborn
  • Security: UFW, fail2ban, Cloudflare SSL
  • Hosting: Contabo VPS
  • Domain: tpc-data.com
📖 API Documentation

This platform provides a RESTful API for accessing F1 statistics. To use the API, you need an API token.

Endpoints:

Endpoint Description
/api/v1/health Health check (no auth required)
/api/v1/teams Get all teams with metadata
/api/v1/drivers Get all drivers with metadata
/api/v1/stats/practice/<year>/<race> Get practice session statistics
/api/v1/stats/qualifying/<year>/<race> Get qualifying statistics
/api/v1/stats/race/<year>/<race> Get race statistics
/api/v1/stats/latest Get latest statistics
/api/v1/schedule Get upcoming race schedule

Authentication: Include your API token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN
đŸ‘Ĩ The Paddock Crew

This platform is proudly developed for The Paddock Crew - your source for Formula 1 news, analysis, and statistics.

Main Site: thepaddockcrew.com
Data API: tpc-data.com