public static Dictionary <int, FootyStatsTypes.PlayerDetails> GetLeaguePlayersIndexById(string apiKey, int seasonId) { FootyStatsTypes.GetLeaguePlayersResponseContainer responseContainer = new FootyStatsTypes.GetLeaguePlayersResponseContainer(seasonId); return(PlayerDetailsIndexedById(responseContainer.data)); }
public static FootyStatsTypes.PlayerDetails[] GetLeaguePlayers(string apiKey, int seasonId) { FootyStatsTypes.GetLeaguePlayersResponseContainer responseContainer = new FootyStatsTypes.GetLeaguePlayersResponseContainer(seasonId); return(responseContainer.data); }