![]() He did it right as he shows up with a dump truck full of gold bars. For example, the other day some guy used BFF to get his crappy picture of the moon on APOD. Apparently, this system has become quite common around the internet recently. We can actually use some savvy programming help on the smartphone sky monitor project, so if you would like to volunteer please send an email to my graduate student.( note that in this IAMA, I am not representing NASA or Michigan Tech - just myself!įake answer: We use a system called Blatent Financial Favoritism, or BFF for short. In terms of research, two projects I am currently working on include using data from gamma-ray bursts to tell us about the intervening universe, and trying to turn common smartphones into astronomically useful sky monitors. More recently I have put the class "Extraordinary Concepts in Physics" freely on the web, YouTube, and iTunes, where also no textbook is required. This class uses APOD and Wikipedia in place of a potentially costly textbook. For example my Introductory Astronomy course is available over the web and YouTube and iTunes. I have also been putting some of my courses online for free since 2006. Log files show that, typically, every major university accesses APOD every day. APOD is one of the more popular science sites on the web, typically receiving over one million page views each day. who does research into various aspects of our universe. I am also a Professor in the Physics Dept. She loves exploring newer technologies.I was one of the two Astronomy Picture Of the Day (APOD) creators in 1995 and remain one of (same) two editors who pick all of the APOD images and write all of the APOD texts. Reshma Sathe is a Master of Computer Science graduate and a Software Developer with experience in Java, Python, Kotlin, and other programming languages. Building a NASA Satellite Imagery SMS Bot with Python, Flask, and Twilio.Automatically Send Birthday Wishes with Python Flask and WhatsApp.Or, check out some of the other tutorials on the Twilio blog for ideas on what to build next: For this application to be deploy-ready, consider changes like containerizing the application, adding admin functionality, building a model to store the SMS objects, etc. The above application is a beginner Django project with minimal configuration. Or you can call a Weather API, tweak the SMS content, and turn it into a daily series of weather for your locality. If you're interested in building more astronomy-related projects, you can try other NASA APIs. Send messages periodically using Celery and Django.Write a function to send an SMS message using the Twilio API.If you click on the specific link, the detailed logs are shown. We can also check the logs of whether the SMS was sent or not, what the details were, etc., in the Twilio console. You can create a NASA APOD API Key on the NASA Open APIs page by filling in the form:Ĭreate the Django project and the Python virtual environmentĬreate a new Django project from your command prompt called nasa_apod_sms_project, then navigate to this new directory:įollowing that will be the NASA Picture of the day's title, description, and a link to the photo. Your Account SID and Auth Token are found in your Twilio account dashboard as shown below: The Python installation manager, known as pip.It's free and includes 1000 requests per minute. You will need an API Key to use theNASA Astronomy Picture of the Day API. If your operating system does not provide a Python interpreter, you can download an installer from the site. The complete code is available in this repository. Schedule the SMS to be sent every day at 10 am local time.Create and send an SMS to selected phone numbers using Twilio, and.Get a response (astronomy picture of the day and its related information from the NASA APOD API,.Instead of reinventing the wheel, I used Twilio SMS, Django, Celery, and the NASA APOD API to create my application. ![]() That's when I thought of creating an application that would send me an SMS with the latest picture of the day from the NASA APOD API. I found the NASA Astronomy Picture of the Day and their API during my search. Astronomy has always been a fascinating subject and has always piqued my interest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |