def handle_result(api_dict):
    """Extract relevant info from API result"""
    result = {}

    for key in {
        "objectID",
        "version",
        "title",
        "id",
        "permalink",
        "content",
        "categories",
    }:
        result[key] = api_dict[key]

    return result