Swift Client to interact with Football-Data API. It uses Swift Async Await API to fetch data from API.
let client = FootballDataClient(apiKey: "Your API KEY")
Fetch latest table standings for EPL
let standings = try await client.fetchStandings(competitionId: 2021, filterOption: .latest)
Fetch top scorers for Spanish La Liga on season 2020/2021
let scorers = try await client.fetchTopScorers(competitionId: 2014, filterOption: .year(2020))