Simple ETL getting info from https://newsapi.org/ and send to API.
This service help to search information automatically via News API.
First part of a system which search, save and share info.
Someone has to work and prepare the reports.
Epistolary examines the reports and prepares them for recording
(c) Author
Enjoy.
Need to fill settings.toml
with next important variables:
API_KEY
. You can find this data here - https://my.telegram.org/appsQUERY
. Key word to search for in articles.API_TOKEN
. Ask BotFather in telegram.CHAT_ID
. Use this to find chat ID where you want to send messages - https://api.telegram.org/botAPI_TOKEN/getUpdatesdocker-compose up -d
ormake dstart
- ...
- PROFIT !!!
[DB]
DB_API_URL = "http://attainments_sanctuary:8888"
[NEWS_API]
API_KEY = ""
QUERY = "computer science"
LANGUAGE = "en"
[TELEGRAM]
API_TOKEN = ""
CHAT_ID = ""
[TIMINIGS]
TIME_TO_SEARCH = "02:00"
TIME_TO_SEND_START = "10:00"
TIME_TO_SEND_END = "20:00"
SENDING_INTERVAL = 300
For more info check:
- API & DB repo - https://github.com/CoolCoderCarl/attainments_sanctuary
- ETL repo - https://github.com/CoolCoderCarl/datapath
Still have questions ? Google it.