Example #1
0
 public async Task <CompetitionInfo> GetCompetitionInfo()
 {
     return(await FootballDataApi.Get <CompetitionInfo>(CompetitionId));
 }
Example #2
0
 public async Task <LeagueTable> GetLeagueTable()
 {
     return(await FootballDataApi.Get <LeagueTable>($"{CompetitionId}/leagueTable"));
 }
Example #3
0
 public FootballDataService(FootballDataApi api)
 {
     _api = api;
 }