Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Building a NASA Satellite Imagery SMS Bot with Python, Flask, and Twilio

Blog post from Twilio

Post Details
Company
Date Published
Author
Jamie Corkhill
Word Count
2,230
Company Posts That Month
36
Language
English
Hacker News Points
-
Post removed?
No
Summary

The project involves using Twilio Programmable SMS with Python and Flask to build a bot that accepts a text message containing a location, country code, and date, and responds with a satellite image for that time and location via NASA's Earth APIs. The bot uses the HERE Location Services API for forward geocoding and the NASA API to obtain an image URI. The project requires creating a Flask application, setting up Twilio and Ngrok, and implementing functions to parse and validate the incoming message, geocode the location, fetch the satellite image URI, and respond to the user with the image URL. The bot can be tested by sending a text message to the configured phone number, and it may take some experimentation to find dates that work for specific locations due to NASA's rate limits on demo keys.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.