parameters: (context, args)
docstring: Show a filtered view of all banned players
docstring_summary: Show a filtered view of all banned players
docstring_tokens: Show a filtered view of all banned players
function: def command_list_banned_players(context, args) -> None:
      """
      Show a filtered view of all banned players
      """
      client = __get_service_api_client(context, args)
      response = client.navigate('ban', 'list').GET()
      players = response.DATA.get('players', [])
      print(f"Found {len(players)} banned players")
  
      # Note: only get CognitoUserName back from the ServiceAPI currently
      for player in players:
          print(f'CognitoUsername: {player}')
function_tokens: def command_list_banned_players ( context , args ) -> None : client = __get_service_api_client ( context , args ) response = client . navigate ( 'ban' , 'list' ) . GET ( ) players = response . DATA . get ( 'players' , [ ] ) print ( f"Found {len(players)} banned players" ) # Note: only get CognitoUserName back from the ServiceAPI currently for player in players : print ( f'CognitoUsername: {player}' )