Created
September 19, 2017 19:14
-
-
Save jordanemedlock/5e7c4d9f1fbd562c055c6a23c81a61a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
key = 'eusNIu1EsTDCwSBRwh4-m3_UfoPvkN2eVfYfaNIEZ4Z' | |
def send_text(message): | |
requests.get('https://maker.ifttt.com/trigger/{}/with/key/{}'.format('send_text',key), data={'value1':message}) | |
def send_email(subject, message): | |
requests.get('https://maker.ifttt.com/trigger/{}/with/key/{}'.format('send_email',key), data={'value1':subject, 'value2':message}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment