Skip to content

Instantly share code, notes, and snippets.

@aaronbassett aaronbassett/sms.py Secret
Created Oct 5, 2019

Embed
What would you like to do?
Nexmo SMS Example
import os
import nexmo
client = nexmo.Client(
key=os.getenv("NEXMO_KEY"),
secret=os.getenv("NEXMO_SECRET"),
)
client.send_message(
{
"from": "Python",
"to": os.getenv("MY_NUMBER"),
"text": "Hello world",
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.