Telegram API: Building a weather bot in 30 lines of code

This is the subject of a tutorial on my website. All code required is contained within weather_bot.py (just 30 lines of code!!).

All you will need to run this is:

To automate the sending of forecasts every morning, I set up a simple cronjob on my Raspberry Pi to run at 8AM every morning.