We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2ba21 commit f4b1f47Copy full SHA for f4b1f47
Python_Begginer_Projects/Intermediate/TextMessage_Automation.py
@@ -0,0 +1,17 @@
1
+import requests
2
+import schedule
3
+import time
4
+
5
+phone_number = '' # Enter the number you're sending the message to.
6
7
+def send_message():
8
+ resp = requests.post('http;//textbelt.com/text', {
9
+ 'phone': phone_number,
10
+ 'message': 'Hello, world',
11
+ 'key': 'textbelt'
12
+ })
13
14
+ print(resp.json())
15
+# Schedule at 6pm everyday.
16
+schedule.every().day.at('18:00').do(send_message)
17
0 commit comments