def search_word_in_space(confluence, space, word):
    """
    Get all found pages with order by created date
    :param confluence:
    :param space
    :param word:
    :return: json answer
    """
    cql = "space.key={} and (text ~ {})".format(space, word)
    answers = confluence.cql(cql, expand='space,body.view')
    for answer in answers.get('results'):
        print(answer)