implemented /news and deleted debugbot (edit BOT_API_KEY instead) #2
@ -4,4 +4,13 @@ script for news fetching (by keywords)
|
|||||||
__author__ = "Florian Kellermann, Linus Eickhoff"
|
__author__ = "Florian Kellermann, Linus Eickhoff"
|
||||||
__date__ = "15.03.2022"
|
__date__ = "15.03.2022"
|
||||||
__version__ = "0.0.1"
|
__version__ = "0.0.1"
|
||||||
__license__ = "None"
|
__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)
|
@ -2,4 +2,6 @@ pyTelegramBotAPI~=4.4.0
|
|||||||
beautifulsoup4==4.10.0
|
beautifulsoup4==4.10.0
|
||||||
Markdown==3.3.6
|
Markdown==3.3.6
|
||||||
Pillow==9.0.1
|
Pillow==9.0.1
|
||||||
yfinance==0.1.70
|
yfinance==0.1.70
|
||||||
|
newsapi-python
|
||||||
|
pandas
|
||||||
|
Loading…
Reference in New Issue
Block a user