#NEWLINE# def results( self , query_name ) : #NEWLINE# #INDENT# "\n        Gets a single saved query with a 'result' object for a project from thei\n        Keen IO API given a query name.\n        Read or Master key must be set.\n        " #NEWLINE# keen_api = KeenApi ( self . project_id , master_key = self . master_key ) #NEWLINE# self . _check_for_master_or_read_key ( ) #NEWLINE# url = '{0}/{1}/projects/{2}/queries/saved/{3}/result' . format ( response . base_url , keen_api . api_version , self . project_id , query_name ) #NEWLINE# key = ( self . master_key if self . master_key else self . read_key ) #NEWLINE# response = keen_api . fulfill ( 'get' , url , headers = { #NEWLINE# #INDENT# 'Authorization' : key , #NEWLINE# #UNINDENT# } ) #NEWLINE# keen_api . _error_handling ( response ) #NEWLINE# return response . json ( )