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