code: def get_binstar(args=None, cls=None):
      
  
      warnings.warn(
          'method get_binstar is deprecated, please use `get_server_api`',
          DeprecationWarning
      )
  
      token = getattr(args, 'token', None)
      log_level = getattr(args, 'log_level', logging.INFO)
      site = getattr(args, 'site', None)
  
      aserver_api = get_server_api(token=token, site=site, log_level=log_level, cls=cls)
      return aserver_api
docs: DEPRECATED METHOD,
  
      use `get_server_api`