def common_all_players(
        season,
        is_only_current_season=0,
        league_id=NbaStats::Constants::LEAGUE_ID_NBA
    )
      NbaStats::Resources::CommonAllPlayers.new(
          get(COMMON_ALL_PLAYERS_PATH, {
              :LeagueID => league_id,
              :Season => season,
              :IsOnlyCurrentSeason => is_only_current_season
          })
      )
    end
def common_all_players(
        season,
        is_only_current_season=0,
        league_id=NbaStats::Constants::LEAGUE_ID_NBA
    )
      NbaStats::Resources::CommonAllPlayers.new(
          get(COMMON_ALL_PLAYERS_PATH, {
              :LeagueID => league_id,
              :Season => season,
              :IsOnlyCurrentSeason => is_only_current_season
          })
      )
    end
Calls the commonallplayers API and returns a CommonAllPlayers resource.

 @param season [String]
 @param is_only_current_season [Integer]
 @param league_id [String]
 @return [NbaStats::Resources::CommonAllPlayers]