You must create a file env.py
at the root folder and inside define your BOT_API_KEY
from Telegram and your NEWS_API_KEY
from News Api. You have to create a bot with BotFather
to get your BOT_API_KEY
. Then type in the console python3 bot.py
.
Read the complete tutorial here. Start searching news here.
binary-news-coffee_bot id under MIT LICENSE