diff --git a/telegram_bot/news_fetcher.py b/telegram_bot/news_fetcher.py index 019372d..e14b9f1 100644 --- a/telegram_bot/news_fetcher.py +++ b/telegram_bot/news_fetcher.py @@ -4,4 +4,13 @@ script for news fetching (by keywords) __author__ = "Florian Kellermann, Linus Eickhoff" __date__ = "15.03.2022" __version__ = "0.0.1" -__license__ = "None" \ No newline at end of file +__license__ = "None" + +import sys +from newsapi import NewsApiClient +newsapi = NewsApiClient(api_key=api_key) +from pandas.io.json import json_normalize +import pandas as pd + +if __name__ == '__main__': + sys.exit(-1) \ No newline at end of file diff --git a/telegram_bot/requirements.txt b/telegram_bot/requirements.txt index cd51daa..78ca72e 100644 --- a/telegram_bot/requirements.txt +++ b/telegram_bot/requirements.txt @@ -2,4 +2,6 @@ pyTelegramBotAPI~=4.4.0 beautifulsoup4==4.10.0 Markdown==3.3.6 Pillow==9.0.1 -yfinance==0.1.70 \ No newline at end of file +yfinance==0.1.70 +newsapi-python +pandas