Let’s Live Code an App that Texts us NBA News
summary
Live-codes a Python app that pulls NBA headlines from sportsdata.io API, filters for top headlines, and sends them via Twilio SMS; uses requests, Flask, ngrok and the Twilio REST client to expose a webhook and send messages. Typing f5 refresh in an incoming SMS triggers the date-filtered endpoint and returns today’s headlines; initial debugging (virtualenv, wrong directory, typos) delays it but the deployed ngrok + Twilio webhook flow proves functional and returns live texts.
AI-written summary · about
