def get_api_results(self, response):
        if response.error:
            return self.send_error()

        try:
            return json.loads(response.body)
        except __HOLE__:
            return self.send_error(500)
dataset/ETHPy150Open YelpArchive/pushmanager/pushmanager/core/requesthandler.py/RequestHandler.get_api_results