Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 

Sending a Text Message - Twilio

Description

A script that ask for a phone number and sends a text message to that number

How it works

Using Twilio's python wrapper and API, the script ask the user for their phone number and send a text message to that number.

Step-by-step guide on how the script works and connecting it to Twilio by chatasweetie on the post:Twilio - 2 Ways of Sending Text Message

Technology Stack

Python, Twilio

Screenshot

Script being run

How to run Script locally

Create a virtual environment

> virtualenv env
> source env/bin/activate

Install the dependencies

> pip install -r requirements.txt

Source twilio keys

> source keys.sh

Run script

> python twilio_process.py

Note: The messaging functionality requires that you have a Twilio account id, authorization token and phone number set as local environment variables:

TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
TWILIO_NUMBER

About the Developer

Jessica Dene Earley
Bio
Linkedin
Blog

About

A script that sends text messages using twilio's api

Resources

Releases

No releases published

Packages

No packages published

Languages