Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (19 loc) · 1.26 KB

AstropixBot

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 🤩

Dependencies

Install all dependencies with:

pip install -r requirements.txt

Credentials

  • 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

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.

Acknowledgments

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.