Sending SMS from Python with Google Cloud Functions
This tutorial demonstrates the deployment of a simple function on Google Cloud Platform using Python 3.7 to send a text message to a user via the Vonage SMS API, showcasing the benefits of "Functions-as-a-Service" or serverless architecture in breaking down applications into small, scalable pieces without managing servers or paying for unused services. To get started with Google Cloud Platform, one must sign up and create a Vonage API account, then set up pre-requisites such as environment variables and CORS handling. The function is deployed to Google Cloud Functions using the inline editor, where it can be tested and integrated into a front-end via JavaScript, highlighting the potential of serverless architecture for integrating with static sites, JavaScript front-ends, or mobile apps.
Company
Vonage
Date published
Nov. 9, 2020
Author(s)
Tom Morris
Word count
1420
Language
English
Hacker News points
None found.