@classmethod
def get_result(cls, response):
    """
        Retrieve a result from the HTTP response
        :param response: a response object
        :return: either the 'result' dict, or None if no result is returned
        """
    j = response.json()
    no_results = j.get('result', None) is None
    if response.ok and j.get('success', False) and not no_results:
        return j.get('result', j)
    else:
        return None
