def _get_admin_info(command, host=None, core_name=None):
 url = _format_url('admin/{0}'.format(command), host, core_name=core_name)
 resp = _http_request(url)
 return resp

def _get_admin_info ( command , host = None , core_name = None ) : url = _format_url ( 'admin/{0}' . format ( command ) , host , core_name = core_name ) resp = _http_request ( url ) return resp
private method calls the _http_request method and passes the admin command to execute and stores the data .