def get_articles(id):
    '\n    Function that processes the articles and returns a list of articles objects\n    '
    get_articles_url = ARTICLE.format(id, api_key)
    print(get_articles_url)
    with urllib.request.urlopen(get_articles_url) as url:
        article_data = url.read()
        articles_response = json.loads(article_data)
        articles_object = None
        if articles_response['articles']:
            response_list = articles_response['articles']
            articles_object = process_articles(response_list)
    return articles_object
Function that processes the articles and returns a list of articles objects
def get_articles(id):
    '\n    \n    '
    get_articles_url = ARTICLE.format(id, api_key)
    print(get_articles_url)
    with urllib.request.urlopen(get_articles_url) as url:
        article_data = url.read()
        articles_response = json.loads(article_data)
        articles_object = None
        if articles_response['articles']:
            response_list = articles_response['articles']
            articles_object = process_articles(response_list)
    return articles_object