Summary
Names go in, so you never have to look up a league ID.
The awkward part of API-Football is that everything is keyed by numeric ID. The lookup tools take a league, team or player name and hand the ID back, which is what makes an ordinary question answerable without a reference table open beside you.
What it is
A football data server over the API-Football service. It resolves leagues, teams and players from names into the IDs the API needs, then returns standings, fixtures, statistics and live match data.
What you get
- A league ID from a league name, and a list of every league, filterable by country
- League information, and standings across several leagues and seasons, with a team filter over them
- Fixtures for a league and season, a league schedule for named dates, and a team's fixtures including across a date range
- Player IDs from a name, a player profile, and player statistics by season and league
- Team information
- Live match data for a team, plus fixture events, fixture statistics, and statistics across several fixtures at once
Requirements
A RapidAPI account subscribed to API-Football, with the key set as an environment variable. Python.
Setup effort
One command plus a key — docker build -t soccer_server ., then supply credentials
