Python Endpoint Monitor & SMS Alerts -- 2

Замовник: AI | Опубліковано: 14.11.2025

I need a compact, dependable Python utility that will call a single HTTP endpoint every hour, check the returned body for one specific keyword (which I’ll supply) and, the moment that keyword appears, send me an SMS alert. Core behaviour • Hourly polling handled by your choice of scheduler (schedule, APScheduler or even native cron). • HTTP request via requests or httpx. • SMS dispatch through my existing Twilio account—or another REST-based gateway if it’s as easy to configure. • Only the keyword matters; status codes and latency can be ignored for now. Environment The script will live on a Ubuntu 22.04 box running Python 3.10, so keep dependencies light and clearly declared. Deliverables • Well-commented .py file(s) with variables for endpoint URL, keyword, interval, and destination number. • README with setup steps, required environment variables, and instructions to run as a systemd service or cron job. • Proof of one successful alert (log excerpt or screenshot). I value clean, readable code and a quick turnaround—looking forward to working together.