A bot that sends to a certain chat the Astronomic Picture of the Day from the NASA APOD page.
You can join the telegram chanel @AstropixChannel wehre this bot sends the daily pictures 🤩
Install all dependencies with:
pip install -r requirements.txt
APOD api key
which you can get easly here.Telegram Bot Token
which you can get from the BotFather.Your personal chat_id
for testing purposes.Your channel chat_id
where the bot will send the information.
Once you have all credentials, edit the Constants.py
file with them.
Execute the bot with python ./bot/AstropixBot.py
and see it in action!
You can text to the bot (any text) and you'll get a bunch of info such us message info, APOD API call, etc.
Thanks to the original creator of the youtubeID
file (original gist).
And also to @Alfedi for hosting this bot in its beginnings, ty bro.
Thanks to Forgis for being Forgis :D Long live to 23.