From d86d989a7d4400fd5f8470f776229f4a72f8fbad Mon Sep 17 00:00:00 2001 From: Dmitri Soshnikov Date: Tue, 22 Mar 2022 20:45:31 +0300 Subject: [PATCH] Update MSConceptGraph.ipynb --- 2-Symbolic/MSConceptGraph.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-Symbolic/MSConceptGraph.ipynb b/2-Symbolic/MSConceptGraph.ipynb index 23e04f64..a04856d3 100644 --- a/2-Symbolic/MSConceptGraph.ipynb +++ b/2-Symbolic/MSConceptGraph.ipynb @@ -78,7 +78,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Let's try to categorize the news titles using parent concepts. To get news titles, we will use [NewsApi.org](http://newsapi.org) service. You need to obtain your own API key in order to use the service." + "Let's try to categorize the news titles using parent concepts. To get news titles, we will use [NewsApi.org](http://newsapi.org) service. You need to obtain your own API key in order to use the service - go to the web site and register for free developer plan." ] }, { @@ -89,7 +89,7 @@ }, "outputs": [], "source": [ - "newsapi_key = '7015bc6ae10841679b21676c05bdad97'\n", + "newsapi_key = ''\n", "def get_news(country='us'):\n", " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", " return res['articles']\n",