Wanted to refresh my memory of Python, so I decided to consume some API endpoints on the ApiFootball API with Flask.
- Standings - Shows League standings.
- Teams - Shows teams in a league with some extra info.
Both endpoints accept a league_id
param. Default is EPL.
League IDs of Europe's top 5 leagues:
- EPL: 148
- La Liga: 468
- Serie A: 262
- Ligue 1: 176
- Bundesliga: 195