def get_players(self, team):
        """
        Loads the players of a team.

        Args:
            * team (:obj: json): a team in json format obtained from the service.

        Returns:
            * :obj: json: the players of the team
        """
        team_id = self.__get_team_id(team)
        self.logger.debug(f'Getting players of team {team_id}.')
        return self._request('teams', team_id, 'players')
def get_players ( self , team ) : team_id = self . __get_team_id ( team ) self . logger . debug ( f'Getting players of team {team_id}.' ) return self . _request ( 'teams' , team_id , 'players' )
Loads the players of a team.

        Args:
            * team (:obj: json): a team in json format obtained from the service.

        Returns:
            * :obj: json: the players of the team