
I Built a Morning Briefing Bot in 50 Lines of Python (Weather + Crypto + News)
Every morning I used to open 5 tabs: weather, news, crypto prices, calendar, and email. That's 10 minutes of scattered attention before I even start working. So I built a bot that sends me everything in one Telegram message at 7 AM. Here's the entire thing. The Stack Python 3.10+ (no external frameworks) Open-Meteo API — weather (free, no key) CoinGecko API — crypto prices (free, no key) NewsAPI — headlines (free tier, key required) Telegram Bot API — delivery Total cost: $0/month. Runs on any machine with cron. Step 1: Weather (Open-Meteo) No API key. No signup. Just works. \ `python import requests from datetime import datetime def get_weather(lat=55.75, lon=37.62): # Moscow """Get current weather + today's forecast""" r = requests.get(' https://api.open-meteo.com/v1/forecast ', params={ 'latitude': lat, 'longitude': lon, 'current_weather': True, 'daily': 'temperature_2m_max,temperature_2m_min,precipitation_sum', 'timezone': 'auto', 'forecast_days': 1 }).json() cw = r['current_weathe
Continue reading on Dev.to Tutorial
Opens in a new tab


