google-news-trends-mcp 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google_news_trends_mcp/news.py +0 -11
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/METADATA +1 -1
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/RECORD +7 -7
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/WHEEL +0 -0
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/entry_points.txt +0 -0
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/top_level.txt +0 -0
google_news_trends_mcp/news.py
CHANGED
@@ -164,8 +164,6 @@ async def get_news_by_keyword(
|
|
164
164
|
period: is the number of days to look back for articles.
|
165
165
|
max_results: is the maximum number of results to return.
|
166
166
|
nlp: If True, will perform NLP on the articles to extract keywords and summary.
|
167
|
-
Returns:
|
168
|
-
list[newspaper.Article]: A list of newspaper.Article objects containing the articles.
|
169
167
|
"""
|
170
168
|
google_news.period = f"{period}d"
|
171
169
|
google_news.max_results = max_results
|
@@ -184,8 +182,6 @@ async def get_top_news(
|
|
184
182
|
period: is the number of days to look back for top articles.
|
185
183
|
max_results: is the maximum number of results to return.
|
186
184
|
nlp: If True, will perform NLP on the articles to extract keywords and summary.
|
187
|
-
Returns:
|
188
|
-
list[newspaper.Article]: A list of newspaper.Article objects containing the top news articles.
|
189
185
|
"""
|
190
186
|
google_news.period = f"{period}d"
|
191
187
|
google_news.max_results = max_results
|
@@ -204,8 +200,6 @@ async def get_news_by_location(
|
|
204
200
|
period: is the number of days to look back for articles.
|
205
201
|
max_results: is the maximum number of results to return.
|
206
202
|
nlp: If True, will perform NLP on the articles to extract keywords and summary.
|
207
|
-
Returns:
|
208
|
-
list[newspaper.Article]: A list of newspaper.Article objects containing the articles for the specified location
|
209
203
|
"""
|
210
204
|
google_news.period = f"{period}d"
|
211
205
|
google_news.max_results = max_results
|
@@ -232,8 +226,6 @@ async def get_news_by_topic(
|
|
232
226
|
period: is the number of days to look back for articles.
|
233
227
|
max_results: is the maximum number of results to return.
|
234
228
|
nlp: If True, will perform NLP on the articles to extract keywords and summary.
|
235
|
-
Returns:
|
236
|
-
list[newspaper.Article]: A list of newspaper.Article objects containing the articles for the specified topic
|
237
229
|
"""
|
238
230
|
google_news.period = f"{period}d"
|
239
231
|
google_news.max_results = max_results
|
@@ -253,9 +245,6 @@ async def get_trending_terms(
|
|
253
245
|
geo: is the country code, e.g. 'US', 'GB', 'IN', etc.
|
254
246
|
full_data: if True, returns full data for each trend, otherwise returns only the trend and volume.
|
255
247
|
max_results: is the maximum number of results to return, default is 100.
|
256
|
-
Returns:
|
257
|
-
list[tuple[str, int]]: A list of tuples containing the trend keyword and its volume.
|
258
|
-
If full_data is True, each tuple will also contain additional data such as related queries and trend type.
|
259
248
|
"""
|
260
249
|
try:
|
261
250
|
trends = list(tr.trending_now(geo=geo))
|
@@ -1,11 +1,11 @@
|
|
1
1
|
google_news_trends_mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
google_news_trends_mcp/__main__.py,sha256=ysiAk_xpnnW3lrLlzdIQQa71tuGBRT8WocbecBsY2Fs,87
|
3
3
|
google_news_trends_mcp/cli.py,sha256=fi0qocr-nc3UbGKOR5GLrmfsEjhU_M6ZJ7UAyLoC8ds,4012
|
4
|
-
google_news_trends_mcp/news.py,sha256=
|
4
|
+
google_news_trends_mcp/news.py,sha256=UF1r5vcew2QKGJH1K6wy5_xlmRBsKLyqrhObbNz3C8Y,11307
|
5
5
|
google_news_trends_mcp/server.py,sha256=qwQ_9UKnOLybUGCmUH4sJWxKsmJHZCg7PKimFXgr58c,9468
|
6
|
-
google_news_trends_mcp-0.1.
|
7
|
-
google_news_trends_mcp-0.1.
|
8
|
-
google_news_trends_mcp-0.1.
|
9
|
-
google_news_trends_mcp-0.1.
|
10
|
-
google_news_trends_mcp-0.1.
|
11
|
-
google_news_trends_mcp-0.1.
|
6
|
+
google_news_trends_mcp-0.1.4.dist-info/licenses/LICENSE,sha256=5dsv2ZI5EZIer0a9MktVmILVrlp5vqH_0tPIe3bRLgE,1067
|
7
|
+
google_news_trends_mcp-0.1.4.dist-info/METADATA,sha256=yJ9SrQxh94LAK9Mvh5IQ2daSlFWpYH-ZdLdY1ZF3kOk,4580
|
8
|
+
google_news_trends_mcp-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
google_news_trends_mcp-0.1.4.dist-info/entry_points.txt,sha256=eVT3xd6YJQgsWAUBwhnffuwhXNF7yyt_uco6fjBy-1o,130
|
10
|
+
google_news_trends_mcp-0.1.4.dist-info/top_level.txt,sha256=RFheDbzhNnEV_Y3iFNm7jhRhY1P1wQgfiYqVpXCTD_U,23
|
11
|
+
google_news_trends_mcp-0.1.4.dist-info/RECORD,,
|
File without changes
|
{google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/entry_points.txt
RENAMED
File without changes
|
{google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{google_news_trends_mcp-0.1.3.dist-info → google_news_trends_mcp-0.1.4.dist-info}/top_level.txt
RENAMED
File without changes
|