def __process_response(data):
    """
    process the response received from API

    :param data response from api
    :return:
    """
    res = []
    articles = data.get('articles')
    for i in range(len(articles)):
        node = articles[i]
        title = node.get('title')
        description = node.get('description')
        url = node.get('url')
        published_at = node.get('publishedAt')
        res.append((title, description, url, published_at))
    return res
