#NEWLINE# def _get_all_results( self ) : #NEWLINE# #INDENT# _url = '{api_url}analyze?host={host}&publish={publish}&all={return_all}&ignoreMismatch={ignore_mismatch}' #NEWLINE# _url = _url . format ( api_url = self . API_URL , host = self . host , publish = self . publish , return_all = self . return_all , ignore_mismatch = self . ignore_mismatch ) #NEWLINE# if ( self . from_cache == 'on' ) : #NEWLINE# #INDENT# _url += '&fromCache={from_cache}&maxAge={max_age}' #NEWLINE# _url = _url . format ( from_cache = self . from_cache , max_age = self . max_age ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# return self . _handle_api_error ( requests . get ( _url ) ) . json ( ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# if self . DEBUG : #NEWLINE# #INDENT# print ( e ) #NEWLINE# #UNINDENT# return False