Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cecilphillip/serverless-nasa-pictures

A demo application that shows how to use Twilio, Azure Functions, and NASA's picture of the day API
https://github.com/cecilphillip/serverless-nasa-pictures

azure-functions nasa nasa-apod serverless

Last synced: 14 days ago
JSON representation

A demo application that shows how to use Twilio, Azure Functions, and NASA's picture of the day API

Awesome Lists containing this project

README

        

# Picture of The Day Sample usinig Python, Twilio and Azure Functions

> This code is inspired by a blog post written by @aprilspeight on the Twilio blog [Create a NASA Astronomy Picture of the Day Scheduled SMS with Python, Twilio and Azure Functions](https://www.twilio.com/blog/nasa-astronomy-picture-day-scheduled-sms-python-twilio-azure-functions)

This repo contains a sample application, written is various programming languages, that shows how to use an Azure Functions TimerTrigger to call the [NASA Astronomy Picture of the Day (APOD) API](https://api.nasa.gov/). Afterwards, Twilio is used to send a SMS message with the retrived picture.

Read through the blog post highlighted above to get a full understanding of how the app is put together.

## What do you need?
- [Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=academic-0000-cephilli)
- The [Python extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python&WT.mc_id=academic-0000-cephilli)
- [Python 3.7 or above](https://www.python.org/downloads/)
- An API key for the [NASA APIS](https://api.nasa.gov/)
- The [Azure Functions Core Tools](https://docs.microsoft.com/azure/azure-functions/functions-run-local?tabs=linux,csharp,bash&WT.mc_id=academic-0000-cephilli#install-the-azure-functions-core-tools)

## Contribute
Pull requests are always welcome 😎. Feel free to fix any mistakes you come across. We also welcome to addition of other language implementations.