code: def get_team_players(self, team):
          
          team_id = self.team_names.get(team, None)
          try:
              req = self._get('teams/{}/'.format(team_id))
              team_players = req.json()['squad']
              if not team_players:
                  click.secho("No players found for this team", fg="red", bold=True)
              else:
                  self.writer.team_players(team_players)
          except APIErrorException:
              click.secho("No data for the team. Please check the team code.",
                          fg="red", bold=True)
docs: Queries the API and fetches the players
          for a particular team